Fatal error: Uncaught mysqli_sql_exception: 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 'where status=1 order by cId desc' at line 1 in /home/cubeheap/public_html/model/db.functions.php:41
Stack trace:
#0 /home/cubeheap/public_html/model/db.functions.php(41): mysqli_query(Object(mysqli), 'select * from c...')
#1 /home/cubeheap/public_html/view/master/blogPost.php(65): query('select * from c...')
#2 /home/cubeheap/public_html/model/view.php(10): require('/home/cubeheap/...')
#3 /home/cubeheap/public_html/controller/dashboard.php(77): view('common/header.p...', 'master/blogPost...')
#4 /home/cubeheap/public_html/index.php(25): require_once('/home/cubeheap/...')
#5 {main}
thrown in /home/cubeheap/public_html/model/db.functions.php on line 41
0 Comments
Fatal error: Uncaught mysqli_sql_exception: 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 'where status=1 order by cId desc' at line 1 in /home/cubeheap/public_html/model/db.functions.php:41 Stack trace: #0 /home/cubeheap/public_html/model/db.functions.php(41): mysqli_query(Object(mysqli), 'select * from c...') #1 /home/cubeheap/public_html/view/master/blogPost.php(65): query('select * from c...') #2 /home/cubeheap/public_html/model/view.php(10): require('/home/cubeheap/...') #3 /home/cubeheap/public_html/controller/dashboard.php(77): view('common/header.p...', 'master/blogPost...') #4 /home/cubeheap/public_html/index.php(25): require_once('/home/cubeheap/...') #5 {main} thrown in /home/cubeheap/public_html/model/db.functions.php on line 41