Hoi,
Ik heb dus dit scriptje:
En dan krijg ik de 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 WHERE ip = Hier.staat.mijn.ip at line 1
Kan iemand me helpen?
#Milan
Ik heb dus dit scriptje:
mysql_query ("UPDATE `gebruikers` SET `punten`=punten-" . $fetchhosting[prijs] . " WHERE `ip`= " . $_SERVER[REMOTE_ADDR] ."") or die(mysql_error()); En dan krijg ik de 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 WHERE ip = Hier.staat.mijn.ip at line 1
Kan iemand me helpen?
#Milan
doe er dan een id bij ofzo