27/01/2013, 15:38
|
| | | Fecha de Ingreso: agosto-2004
Mensajes: 494
Antigüedad: 20 años, 5 meses Puntos: 2 | |
Problema de sintaxys SQL Estoy intentando esta consulta..
$up1 = 'UPDATE banners SET orden=orden+1 WHERE seccion='.$_GET['seccion'].' AND orden<'.$inicio.' AND orden>='.$fin;
pero me da...
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND orden>1 AND orden<=2' at line 1 |