php-windows | 2001051

[PHP-WIN] mysql_query seems not to work... From: Bogdan Stanescu (basy2107 <email protected>)
Date: 05/13/01

$query="SELECT * FROM session where(user='$user_');";
$rez=mysql_query($query,$db);
$rand_s=mysql_fetch_array($rez) or die("FAILURE");
echo $rand_s;

this echoes nothing.
same query in the console of mysql works.

can u help me? Thanx in advance.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
For additional commands, e-mail: php-windows-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>