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 '01%'
ORDER BY course ASC, kyori ASC' at line 5 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/display/total_kyori2.php(76): total_request()
#3 /home/ittai/www/ittai.net/pc/common/2012_after/jockey_index_type4_JRA.php(29): include_once('...')
#4 /home/ittai/www/ittai.net/pc/RK/jockey_index.php(305): include_once('...')
#5 {main}
thrown in /home/ittai/www/ittai.net/pc/lib_total_new.php on line 70