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 'AND `coursecode` LIKE '30%' ORDER BY `totalize_all_jockey10`.`course` ASC , `tot' at line 1 in /home/ittai/www/ittai.net/pc/lib_total_new.php:70
Stack trace:
#0 /home/ittai/www/ittai.net/pc/lib_total_new.php(70): mysqli_query()
#1 /home/ittai/www/ittai.net/pc/lib_total_new.php(113): total_query()
#2 /home/ittai/www/ittai.net/pc/common/2012_after/jockey_index_type4_NAR.php(53): total_request()
#3 /home/ittai/www/ittai.net/pc/RK/jockey_index.php(308): include_once('...')
#4 {main}
thrown in /home/ittai/www/ittai.net/pc/lib_total_new.php on line 70