note 35901 deleted from function.mssql-fetch-array by didou

From: Date: Thu, 18 Sep 2003 16:48:34 +0000
Subject: note 35901 deleted from function.mssql-fetch-array by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56712@lists.php.net to get a copy of this message
Note Submitter: maurice ---- // Query the database. $query = "SELECT user_id, first_name FROM users WHERE username='$u' AND password=PASSWORD('$p')"; $result = @mysql_query ($query); $row = mysql_fetch_array ($result, MYSQL_NUM); This is the error when I submit the arrary An error occurred in script C:\WINNT\system32\inetsrv\php\html\includes\config.inc on line 11: mysql_fetch_array(): supplied argument is not a valid MySQL result resource I receive after the query is ran.

« previous php.notes (#56712) next »