MYSQL QUERY ERROR REPORT
- 04/12/2016 20:12:40
---------------------------------------
1064 - 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 `Id` != 233 AND `IsPublicated` = '1' ORDER BY `Id` desc LIMIT 2' at line 1

SELECT `Id`, `Title`, `DateTime`, `MainSection` FROM `articles` where `MainTag` = AND `Id` != 233 AND `IsPublicated` = '1' ORDER BY `Id` desc LIMIT 2
---------------------------------------
Server Name : izrus.co.il
Remote Address: 54.161.175.236
Referer :
Requested : /router.php?article=233
Trace Back : /home/izrus/domains/izrus.co.il/includes/functions/database.php at line 817
/home/izrus/domains/izrus.co.il/includes/functions/database.php at line 597
/home/izrus/domains/izrus.co.il/includes/content/article.php at line 64
/home/izrus/domains/izrus.co.il/includes/content/article.php at line 13
/home/izrus/domains/izrus.co.il/public_html/router.php at line 455
==========================================================================