
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
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...