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 id!='' ORDER BY id DESC LIMIT 12' at line 1 in /home/khansafar/public_html/include/base/base.php:12177 Stack trace: #0 /home/khansafar/public_html/include/base/base.php(12177): PDO->prepare('SELECT * FROM c...') #1 /home/khansafar/public_html/App/modules/web/home/Controller/home.php(726): select_table_field('cms', ' ( ) AND id!='...', '*', ' ORDER BY id ...', ' LIMIT 12 ') #2 /home/khansafar/public_html/App/modules/web/home/Controller/home.php(794): App\modules\web\home\Controller\home->sample_post_cms_id(NULL, NULL) #3 [internal function]: App\modules\web\home\Controller\home->show_cms('submit') #4 /home/khansafar/public_html/App/Core/Route.php(171): call_user_func_array(Array, Array) #5 /home/khansafar/public_html/App/route.php(483): App\Core\Route::run() #6 /home/khansafar/publ in /home/khansafar/public_html/include/base/base.php on line 12177