摘要:
例1767.PostgreSQL 例子<?php//连接,选择数据库$dbconn= pg_connect("host=localhostdbname=publishing user=postgres password=fooport=5432") ordie('Could not connect: '. pg_last_error());// 执行 SQL查询$query = 'SELECT * FROMauthors';$result =pg_query($query) or die('Query failed:' 阅读全文