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 'WHERE fam_code = 'mkFEGDDU'' at line 1 in /var/www/jhn_web10/htdocs/community/inc/utility_functions.php:562
Stack trace:
#0 /var/www/jhn_web10/htdocs/community/inc/utility_functions.php(562): mysqli->query('SELECT * FROM ...')
#1 /var/www/jhn_web10/htdocs/community/inc/utility_functions.php(224): ct_query('SELECT * FROM ...')
#2 /var/www/jhn_web10/htdocs/community/inc/utility_functions.php(203): randCodeIsUsed('mkFEGDDU', '', 'fam_code')
#3 /var/www/jhn_web10/htdocs/community/project/ma24b/inc_after_login_actions.php(72): randomcode_generate(8, '', 'fam_code')
#4 /var/www/jhn_web10/htdocs/community/index.php(195): include_once('/var/www/jhn_we...')
#5 {main}
thrown in /var/www/jhn_web10/htdocs/community/inc/utility_functions.php on line 562