ID:               16949
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         *General Issues
 Operating System: ?
 PHP Version:      4.1.2
 New Comment:

I've been trying for a week now to fix this, finally gave up on it:

$sql = mysql_query("SELECT pass FROM users WHERE name = '$user'");
echo $sql . "<br>";

when ran, $sql = Resource ID #2 instead of the actual value, I
couldn't
get any help from #php on irc.gamesnet.net


Previous Comments:
------------------------------------------------------------------------

[2002-05-01 16:22:30] [EMAIL PROTECTED]

I've been trying for a week now to fix this, finally gave up on it:

$sql = mysql_query("SELECT pass FROM users WHERE name = '$user'");
echo $sql[pass] . "<br>";

when ran, $sql = Resource ID #2 instead of the actual value, I couldn't
get any help from #php on irc.gamesnet.net      

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16949&edit=1

Reply via email to