Error: 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 '%3C txt ON au.article_id = txt.article_id
LEFT JOIN
article_headline' at line 19
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 '%3C txt ON au.article_id = txt.article_id
LEFT JOIN
article_headline' at line 19 in /home/medn621863/pubmag.ru/docs/App/Models/NewsList.php:214
Stack trace:
#0 /home/medn621863/pubmag.ru/docs/App/Models/NewsList.php(214): PDOStatement->execute()
#1 /home/medn621863/pubmag.ru/docs/App/Controllers/MainController.php(109): App\Models\NewsList->getNewsByUrl('C')
#2 /home/medn621863/pubmag.ru/docs/App/Controllers/MainController.php(83): App\Controllers\MainController->routePage()
#3 /home/medn621863/pubmag.ru/docs/index.php(16): App\Controllers\MainController->run()
#4 {main}
thrown in /home/medn621863/pubmag.ru/docs/App/Models/NewsList.php on line 214