[Conception] Modification d'enregistrement dans une table
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:
$sql = "INSERT INTO foxbudfix_tbl WHERE id=1 (id,pretimo) VALUES('$id','$pretimo')";
Le message d'erreur :
Citation:
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