Fatal error: Uncaught exception 'PDOException' with message '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 '' at line 1' in /pages/register_header.php:21
Stack trace:
#0 /pages/register_header.php(21): PDO->query('SELECT * FROM s...')
#1 /pages/register.php(32): include('/pages/register...')
#2 /index.php(202): include('/pages/register...')
#3 {main}
thrown in /pages/register_header.php on line 21