Bonjour à tous...

J'essaye de modifier les champs d'une table ayant un id=1 mais à chaque fois le même prob... et malgré mes recherches je ne trouve pas d'explications ...

Le code :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
$sql = "INSERT INTO foxbudfix_tbl WHERE id=1 (id,pretimo) VALUES('$id','$pretimo')";
Le message d'erreur :

SQL !INSERT INTO foxbudfix_tbl WHERE id=1 (id,pretimo) VALUES('1','1500')
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 id=1 (id,pretimo) VALUES('1','1500')' at line 1
Merci pour votre aide

Voli