LOADING STUFF...

PHP:pg_connect()的用法_PostgreSQL函数

技术教程11小时前发布 北陌
22 0 0

PHP:pg_connect()的用法_PostgreSQL函数

pg_connect

(PHP 4, PHP 5)

pg_connect — 打开一个 PostgreSQL 连接

说明

resource pg_connect
( string $connection_string
)

pg_connect() 返回其它 PostgreSQL 函数所需要的资源。

pg_connect() 打开一个由
connection_string 所指定的
PostgreSQL 数据库的连接。如果成功则返回连接资源,如果不能连接则返回
FALSE。connection_string 应该是用引号引起来的字符串。

Example #1 使用 pg_connect()

$dbconn

© 版权声明

相关文章

暂无评论

暂无评论...