An error occurred whilst accessing the database: 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 date>curdate() ORDER BY date LIMIT 10' at line 1
An error occurred accessing the database:

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 date>curdate() ORDER BY date LIMIT 10' at line 1

...in the following sql statement:

SELECT * FROM race_fixtures WHERE raceid= AND date>curdate() ORDER BY date LIMIT 10
When:


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/gjorgcou/public_html/race.php on line 140
Date of next race to be confirmed

An error occurred whilst accessing the database: 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 'ORDER BY orderindex' at line 1
An error occurred accessing the database:

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 'ORDER BY orderindex' at line 1

...in the following sql statement:

SELECT id,fieldid FROM race_box_link  WHERE parentid= ORDER BY orderindex

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/gjorgcou/public_html/classes/psk.class.php on line 168