Hi Brian
> $sql_result=pg_exec($conn.$sql) or die ("Couldn't Execute Query.");
should be
$sql_result=pg_exec($conn,$sql) or die ("Couldn't Execute Query.");
pg_exec($conn *comma not period* $sql)...
Regards
Conni
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
In your connect statement, you aren't selecting a password and TCP port to
connect to. You made need to specify those.
Adam
On Tue, 27 Aug 2002, Brian Noecker wrote:
> Hey everyone, got a problem here. I'm using php4.2.1, postgres 7.2. I'm
> trying to do a simple data
look at http://www.php.net/manual/en/function.pg-connect.php
do you have postgresql starting with the -i paramater so that it is
listening on a TCP port? PHP needs this to be able to connect to
postgresql.
Adam
On Tue, 27 Aug 2002, Brian Noecker wrote:
> Hey everyone,