Hi,
> $query="SELECT * FROM session where(user='$user_');";
> $rez=mysql_query($query,$db);
try it like this.
$query = "SELECT * FROM session WHERE user='$user'"; // without the first
colon
$rez = mysql_query($query, $db) or die(mysql_error());
hope it helps
Johannes
--
PHP Windows Mailing
$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