MySQL Result Resource

From: Date: Thu, 10 Jan 2002 14:33:06 +0000
Subject: MySQL Result Resource
Groups: php.db 
Request: Send a blank email to php-db+get-15605@lists.php.net to get a copy of this message
Lo all, Slight problem on an auth script... Warning: Supplied argument is not a valid MySQL result resource in d:\htdocs\infekt\packages\auth.inc on line 104 Line 26: define( "DATABASE", "imanager" ); Line 103: $arg = "select password, 1 as auth from acl where username='$username' and password=MD5('$username','$password')"; Line 104: $row = mysql_fetch_array(mysql_db_query( DATABASE, $arg )); Can anyone help get this to work?? Thankyou. Andrew

« previous php.db (#15605) next »