numrows
| From: | Martin Kampherbeek | Date: | Thu, 23 Aug 2001 08:04:37 +0000 |
| Subject: | numrows | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-64054@lists.php.net to get a copy of this message | ||
What's wrong with this? I get the error: Warning: Supplied argument is not a valid MySQL result
resource in /home/sites/site49/web/vragen/vragen.php on line 42
$query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER BY id
DESC";
$result = MYSQL_QUERY($query);
$number = MYSQL_NUM_ROWS($result);