Ok, since Rodders help me with my last bug i've been getting on quite well, i.e - no bugs I couldn't solve myself. Anyway, i've just added an extra query to some working code but something isn't right. The original queries run but the new query gives me this error -
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 '' at line 2
This is the troublesome query:
mysql_query("INSERT INTO Result_Log (League, Result, Comment, Timestamp)
VALUES ('$leagueName', '$addresult', '$comments', '$timestamp'") or die(mysql_error());
I have a feeling that it's probably going to be some little syntax error in the query. If not, please tell me and i'll post the full code.
Thanks in advance,