Re: numrows
| From: | Martin Kampherbeek | Date: | Thu, 23 Aug 2001 17:26:49 +0000 |
| Subject: | Re: numrows | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-64145@lists.php.net to get a copy of this message | ||
This is the error I get.
MySQL Query Failed. Error 1030: Got error -1 from table handler
Message-ID: <20010823110725.89485.qmail@pb1.pair.com>
To: php-general@lists.php.net
From: "Johannes Janson" <johannes.janson@gmx.de>
Date: Thu, 23 Aug 2001 12:40:21 +0200
Subject: Re: numrows
Hi,
>$query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER BY
>id
DESC";
>
>$result = MYSQL_QUERY($query);
add "or die(mysql_error())" see what MySQL doesn't like about the query.
cheers
johannes