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 List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP-WIN] mysql_query seems not to work... Bogdan Stanescu
- Johannes Janson