Bug #16949: mysql_query SELECT returns Resource ID

2002-05-01 Thread Vipervirus
From: [EMAIL PROTECTED] Operating system: ? PHP version: 4.1.2 PHP Bug Type: *General Issues Bug description: mysql_query SELECT returns Resource ID 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 =

Bug #16949 Updated: mysql_query SELECT returns Resource ID

2002-05-01 Thread Vipervirus
: [2002-05-01 16:37:57] [EMAIL PROTECTED] I give some help anyway. Vipervirus, mysql_query returns the connection id. You must use mysql_fetch_array() to get the values. Please have a look at the example provided in the manual: http://www.php.net/manual/en/ref.mysql.php or http