SQL: DELETE FROM [Table]sessions WHERE sid='tIbL6F' OR lastactivity<(1173873883-) OR ('31'<>'0' AND uid='31') OR (uid='0' AND ip1='210' AND ip2='185' AND ip3='228' AND ip4='166' AND lastactivity>1173873883-60)
Error: 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 ') OR ('31'<>'0' AND uid='31') OR (uid='0' AND ip1='210' AND ip2
Errno.: 1064