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 'order by id desc limit 6' at line 1 in /home/customer/www/1960tips.com/public_html/lib/functions.php:637
Stack trace:
#0 /home/customer/www/1960tips.com/public_html/lib/functions.php(637): PDOStatement->execute()
#1 /home/customer/www/1960tips.com/public_html/lib/functions.php(605): execute_select2(Object(PDOStatement), Array)
#2 /home/customer/www/1960tips.com/public_html/read-content.php(56): select_data2('contents', 'title,slug,pic', 'where draft=0 a...', '')
#3 {main}
thrown in /home/customer/www/1960tips.com/public_html/lib/functions.php on line 637