warning
| From: | tony | Date: | Tue, 17 Oct 2000 11:47:43 +0000 |
| Subject: | warning | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20604@lists.php.net to get a copy of this message | ||
Hello people!
I have a problem with mysterious warning..
I have following code:
$sql = "select * from some_table where ID=$ID";
$results = mysql_query($sql);
$array = mysql_fetch_rows($results);
.
.
.
above code is working perfectly, but it gives following warning:
Warning: Supplied argument is not a valid MySQL result resource in
./mysql.php3 on line 166
I can't seem to find anything wrong.. Please let me know if you have
encountered such warning.
Again, the code seems to be working fine and generating correct outputs.
Thanks!
Tony