phpbar.de logo

Mailinglisten-Archive

[php] MySQL: order by

[php] MySQL: order by

Sascha Schnitzler sas_(at)_traveltainment.de
Fri, 23 Feb 2001 10:35:16 +0100


> Hallo, was stimmt an der Abfrage unten nicht? Gruss MAREK.
> 
> Error
> SQL-query:
> 
> >SELECT id,head,body from home where order by id desc;
                                 ^^^^^^
Trotz Kater:
Das where muss weg oder eine Bedingung dahinter *g*

Gruss Sascha 

 
> MySQL said: You have an error in your SQL syntax near 'order by id
> desc;' at line 1
 



php::bar PHP Wiki   -   Listenarchive