Re: Very queer errors with Postgres/PHP

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff MacDonald <jeff(at)hub(dot)org>
Cc: php-db(at)lists(dot)php(dot)net, pgsql-general(at)postgresql(dot)org
Subject: Re: Very queer errors with Postgres/PHP
Date: 2000-11-23 17:21:58
Message-ID: 7380.975000118@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff MacDonald <jeff(at)hub(dot)org> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-11-23 17:34:47 Re: Hung backends
Previous Message Peter Eisentraut 2000-11-23 17:14:47 Re: Running several postmaster using same database in parallel