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 an
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
hehe, I just figured that you can use both... with and without the '_'.
sorry for messing this up. the one with the "_" is actually featured in the
documentation, while my code keeps getting shorter over time because of
lazyness :)
"Raphael Pirker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROT
> $number = MYSQL_NUM_ROWS($result);
$number = MYSQL_NUMROWS($result);
--
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]
4 matches
Mail list logo