小编Gor*_*rle的帖子

Phppgadmin,未找到对象

我试图在 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 不支持?)

php postgresql phppgadmin

1
推荐指数
1
解决办法
2002
查看次数

PHP响应逐渐消失

我试图通过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标签中,有人知道这是什么原因吗?谢谢

php xampp ajax

0
推荐指数
1
解决办法
64
查看次数

标签 统计

php ×2

ajax ×1

phppgadmin ×1

postgresql ×1

xampp ×1