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 MariaDB server version for the right syntax to use near 'AND ayat_num = LIMIT 1' at line 1 in /home/lsxbtdyo/public_html/quran4ever.com/admin/header_functions.php:224
Stack trace:
#0 /home/lsxbtdyo/public_html/quran4ever.com/admin/header_functions.php(224): PDO->query('select * from q...')
#1 /home/lsxbtdyo/public_html/quran4ever.com/ayat.php(33): header_Operations->getSingle('quran_images', 'WHERE surah_num...')
#2 {main}
thrown in /home/lsxbtdyo/public_html/quran4ever.com/admin/header_functions.php on line 224