MYSQL QUERY ERROR REPORT
- 28/05/2017 05:05:22
---------------------------------------
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.162.168.187
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
==========================================================================