Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 (txt_en like '%машину%' or txt_ua like '%машину%' or txt like '%' at line 6 in /sata1/home/users/maha/www/temp.autoagent.in.ua/lib/news.php:212
Stack trace:
#0 /sata1/home/users/maha/www/temp.autoagent.in.ua/lib/news.php(212): PDO->prepare('SELECT * \n ...')
#1 /sata1/home/users/maha/www/temp.autoagent.in.ua/lib/search.php(26): include('/sata1/home/use...')
#2 /sata1/home/users/maha/www/temp.autoagent.in.ua/index-d.php(91): include('/sata1/home/use...')
#3 /sata1/home/users/maha/www/temp.autoagent.in.ua/index.php(266): include('/sata1/home/use...')
#4 {main}
thrown in /sata1/home/users/maha/www/temp.autoagent.in.ua/lib/news.php on line 212