RE: [PHP-DB] Connection issues with pgsql?

2003-03-28 Thread Dave Brunberg
I'd suggest building a connection string, explicitly defining the user and password. Maybe it would give you a more descriptive error that way (invalid user, etc.). The other thing I've done is do something like this: $database = pg_connect ($conn_string) or die (Help! No connection to

Re: [PHP-DB] Connection issues with pgsql?

2003-03-28 Thread Nathaniel Price
the connection after that. Like I said, it's weird. I have no idea why it's doing that. - Original Message - From: Dave Brunberg [EMAIL PROTECTED] To: 'Nathaniel Price' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 28, 2003 12:24 PM Subject: RE: [PHP-DB] Connection issues

RE: [PHP-DB] Connection issues with pgsql?

2003-03-28 Thread Jennifer Goodie
Check the documentation on pg_query. http://www.php.net/manual/en/function.pg-query.php It expects the link identifier as the first argument and the query as the second. Switch your arguments and you might have some luck. The manual is always a great place to look for answers to things like

RE: [PHP-DB] Connection issues with pgsql?

2003-03-28 Thread Dave Brunberg
: Friday, March 28, 2003 12:24 PM Subject: RE: [PHP-DB] Connection issues with pgsql? I'd suggest building a connection string, explicitly defining the user and password. Maybe it would give you a more descriptive error that way (invalid user, etc.). The other thing I've done is do

Re: [PHP-DB] Connection issues with pgsql?

2003-03-28 Thread Nathaniel Price
Who is General Failure and why is he reading my hard drive? - Original Message - From: Jennifer Goodie [EMAIL PROTECTED] To: Nathaniel Price [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:27 PM Subject: RE: [PHP-DB] Connection issues with pgsql? Check