Re: Not a PHP problem, it's a MySQL problem

From: Date: Tue, 18 Jun 2002 17:08:26 +0000
Subject: Re: Not a PHP problem, it's a MySQL problem
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-14277@lists.php.net to get a copy of this message
top 10 *? What is that supposed to be? Please go read the MySQL docs. -Rasmus On Tue, 18 Jun 2002, James Meers wrote: > Sorry, its not a PHP problem, it's a MySQL problem..... > > I am trying to do a MySQL query below: > > select top 10 * from table order by record_number desc > > However, I am getting the following error: > > You have an error in your SQL syntax near '10 * from table order by record_number > desc' at line 1 >

« previous php.windows (#14277) next »