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 ', number FROM top_1000 WHERE (name = 'David') ORDER BY year ASC, gender' at line 1 in /var/www/np.drew3d.org/first.php:138 Stack trace: #0 /var/www/np.drew3d.org/first.php(138): mysqli_query() #1 /var/www/np.drew3d.org/first.php(280): database_query() #2 /var/www/np.drew3d.org/name.php(45): get_yearly_name_rows() #3 {main} thrown in /var/www/np.drew3d.org/first.php on line 138