SQL: SELECT * FROM `[Table]spaceitems` WHERE `catid` = $news['catid'] AND `dateline` > $news['dateline']-86400 AND `dateline` < $news['dateline']+86400 LIMIT 0,10
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 '['catid'] AND `dateline` > $news['dateline']-86400 AND `dateline` < $news['datel' at line 1
Errno.: 1064