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 's Hockey'' at line 1 in /srv/users/aggr/apps/cflaggr/public/t_cat.php:312 Stack trace: #0 /srv/users/aggr/apps/cflaggr/public/t_cat.php(312): mysqli_query(Object(mysqli), 'SELECT 1 FROM s...') #1 {main} thrown in /srv/users/aggr/apps/cflaggr/public/t_cat.php on line 312