I have tested the following on my home server which has mysql 5.0 installed , and it works well:
$userid ="F0000100";
$query = "INSERT INTO players (userid) VALUE ('$userid')";
mysql_query($query,$link)or die(mysql_error());
On another server which has mysql 4.0.22 installed it gives me the following error message:
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 '(players) userid VALUE ('F0000100')' at line 1
I've tried everything that I could think. What I am doing wrong?