Why this doesn't work ?

From: Date: Mon, 24 Oct 2005 17:25:01 +0000
Subject: Why this doesn't work ?
Groups: php.general 
Request: Send a blank email to php-general+get-224560@lists.php.net to get a copy of this message
Hi, Why this doesn't work ? --- $query = "SELECT COUNT (login) FROM WHERE login = '$login'"; $result = mysql_query($query); mysql_fetch_row($result); --- It gives me Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/html/registar_action.php on line 22 Any help would be apreciated. Warm Regards, Mário Gamito

« previous php.general (#224560) next »