Re: mysql_query seems not to work...

From: Date: Sun, 13 May 2001 10:57:27 +0000
Subject: Re: mysql_query seems not to work...
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-7518@lists.php.net to get a copy of this message
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

« previous php.windows (#7518) next »