Code: Select all
mysql_query("UPDATE imagen SET orden IN(".$losVal.") WHERE PicNum LIMIT 1")Code: Select all
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 'IN 9,1 WHERE PicNum LIMIT 1' at line 1Alvaro