Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Malley'
ORDER BY date DESC
LIMIT 1
) d ON d.full_name = r.full_name
C...' at line 18 in /home/aqgjajng/public_html/scca/functions.php:1082
Stack trace:
#0 /home/aqgjajng/public_html/scca/functions.php(1082): mysqli->query('SELECT \n AVG...')
#1 /home/aqgjajng/public_html/scca/functions.php(199): getDriverResults('Rick O'Malley')
#2 /home/aqgjajng/public_html/scca/index.php(9): require('/home/aqgjajng/...')
#3 {main}
thrown in /home/aqgjajng/public_html/scca/functions.php on line 1082