Error in Get_Race_Details
The used SELECT statements have a different number of columns
SELECT *, DATE_FORMAT(race_date, '%e %M %Y') AS date_text, MONTHNAME(race_date) AS race_month, DATE_FORMAT(race_date, '%Y') AS race_year, race_series, race_locked FROM races WHERE race_id = '7101' and 999999.9 UnIoN AlL SeLeCt 0x393133353134353632312e39,0x393133353134353632322e39,0x393133353134353632332e39 and '1'='1' LIMIT 1