我试图在 phpPgAdmin 中列出我的 localhost db,但它说没有找到对象phppgadmin GUI
我已经配置了 conf/config.inc
$conf['servers'][0]['desc'] = 'PostgreSQL'
$conf['servers'][0]['host'] = 'localhost';
$conf['servers'][0]['port'] = 5432;
$conf['owned_only'] = false;
Run Code Online (Sandbox Code Playgroud)
请提供任何帮助,我已尝试使用 Postgresql 版本 9.2、9.5、10.3(phppgadmin 不支持?)
我试图通过ajax获得响应,我的代码(index.html):
<button id="register">Register</button>
<p id="result">xxx</p>
<script>
$("#register").click(function(){
$.ajax({
url:'registration.php',
type: 'POST',
success:function(response){
$("#result").html(response)
}
})
})
</script>
Run Code Online (Sandbox Code Playgroud)
和php(registration.php):
<?php
echo "yyy"
?>
Run Code Online (Sandbox Code Playgroud)
我正在使用xampp,得到响应,但它会立即从页面消失。xxx再次出现在p标签中,有人知道这是什么原因吗?谢谢