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 'LIMIT 1' at line 1 in /home/awaji83/www/_sandbox-steve/activity.php:34 Stack trace: #0 /home/awaji83/www/_sandbox-steve/activity.php(34): mysqli->query() #1 {main} thrown in /home/awaji83/www/_sandbox-steve/activity.php on line 34