This is the error I get.
MySQL Query Failed. Error 1030: Got error -1 from table handler




Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: "Johannes Janson" <[EMAIL PROTECTED]>
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to