Salut il y a une erreur dans la reqête mysql, pouvez vous me dire ou svp :
foreach ($_POST['inactif'] AS $key => $value)
{
mysql_connect('', '', '');
mysql_select_db('');
mysql_query("INSERT INTO membres VALUES('', '', 'oui') WHERE pseudo='$value'") or die(mysql_error());
}
PS : c'est au niveau de WHERE
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 pseudo='gh'' at line 1