Re: Very queer errors with Postgres/PHP

From: Date: Fri, 17 Nov 2000 02:30:50 +0000
Subject: Re: Very queer errors with Postgres/PHP
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4493@lists.php.net to get a copy of this message
On Thu, Nov 16, 2000 at 10:19:06PM -0400, Jeff MacDonald wrote: [ snip ] > but.. here's the said lines in each file.. > > line 25 > $select = pg_exec($dbh,"SELECT password FROM members WHERE member_id = $user"); does it give the same errors if you put ' ' around the $user? we've had similar problems before, but since you haven't stated the data type of member_id....... [ snip ] j. -- .----------+------------------------------------. |John Slee `-----------. <john@chirp.com.au>| |Chirp Web Design | http://www.chirp.com.au| |Phone: +61 2 62301871 `----. +61 2 62301515 Fax| `---------------------------+-------------------'

« previous php.db (#4493) next »