[thelist] PEAR DB problem with DB_FETCHMODE_OBJECT
Flavio Hallais
fhallais2004 at yahoo.com
Tue Aug 3 15:31:14 CDT 2004
Now it's working.
Thanks,
Flavio Hallais
--- sbeam <sbeam at syxyz.net> wrote:
> 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/
> --
> * * Please support the community that supports you.
> * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip
> Harvester
> and archives of thelist go to:
> http://lists.evolt.org
> Workers of the Web, evolt !
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
More information about the thelist
mailing list