[thelist] PEAR DB problem with DB_FETCHMODE_OBJECT
sbeam
sbeam at syxyz.net
Tue Aug 3 09:13:58 CDT 2004
On Tuesday 03 August 2004 10:05 am, Flavio Hallais wrote:
> while($row = $result-> fetchRow()){
> echo $row->USER_ID;
> }
> ?>
>
> It does not work. I receive the message:
>
> Notice: Undefined property: USER_ID in
> /var/www/html/framework/testpear.php on line 12
>
> USER_ID is a valid column in the table users !
Probably USER_ID is not a valid column name, but user_id is. Try
lowercasing it.
--
# S Beam - Web App Dev Servs
# http://www.onsetcorps.net/
More information about the thelist
mailing list