![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/04/2014, 13:32
|
![Avatar de Geghnar](http://static.forosdelweb.com/customavatars/avatar483857_2.gif) | | | Fecha de Ingreso: noviembre-2012 Ubicación: Vigo
Mensajes: 17
Antigüedad: 11 años, 8 meses Puntos: 2 | |
Respuesta: ORDER BY id DESC cambia la sintaxis:
$fotos_aprobadas = mysql_query("SELECT * FROM fotos WHERE estado = 'aprobada' ORDER BY id DESC");
Salu2 |