Need some help, Thanks

From: Date: Fri, 03 Sep 2004 08:18:09 +0000
Subject: Need some help, Thanks
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14386@lists.php.net to get a copy of this message
I'm using PEAR to create a login script. When PEAR creates a query such as: $check = $db_object->query("SELECT user_name, passw FROM users WHERE user_name = '".$_POST['uname']."'"); There is no problem, However when I need to get an attribute from that query such as: $info = $check->fetchRow(); I get errors. It does not store a proper answer into the variable $info, rather it just stores the word "Object". What is going on? This code I'm using was found on an open source site and there are many comments that it works perfectly for other people, so I know this code does work, but not for me. Please help, Thanks, Dave

« previous php.pear.general (#14386) next »