mysql_query seems not to work...
| From: | Bogdan Stanescu | Date: | Sun, 13 May 2001 10:37:16 +0000 |
| Subject: | mysql_query seems not to work... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7517@lists.php.net to get a copy of this message | ||
$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.