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