[PHP-DB] Re: [GENERAL] Very queer errors with Postgres/PHP From: Tom Lane (tgl <email protected>)
Date: 11/23/00

Jeff MacDonald <jeff <email protected>> writes:
> Warning: PostgreSQL query failed: ERROR: Attribute 't' not found in
> /home/vhosts/mmfreedomclub.com/php-global/conf.php on line 25

> line 25
> $select = pg_exec($dbh,"SELECT password FROM members WHERE member_id = $user");

Hm. What does $user contain? If it's just "t" (no quotes) that'd
provoke this error message.

                        regards, tom lane

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>