mysql_fetch_array warnings.
| From: | Martin.Andrew | Date: | Tue, 23 Apr 2002 12:21:03 +0000 |
| Subject: | mysql_fetch_array warnings. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13238@lists.php.net to get a copy of this message | ||
testing locally I use the following code
$query = "select * from users where UserName LIKE '$username'";
$result = mysql_query($query);
if ($row = mysql_fetch_array($result)) {
...
...
}
works fine.
On the ISP machine I get the following warnings?
Supplied argument is not a valid MySQL result resource !!
Do I need to change a setting?