J'effectue cette requete :
<?
require_once('cagnes.php');
include ("conffile.php");
@ mysql_pconnect($hostname, $user, $passwd) or die ("Impossible de se connecter");
mysql_select_db($dbname);
?>
<?
$age = $_POST['age'];
$id_categorie = $_POST['categorie'];
$entrain_out = $_POST['entrain_out'];
$sexe = $_POST['section'];
$joueur_out = $_POST['joueur_out'];
$dir_out = $_POST['dir_out'];
$numero = $_POST['numero'];
$nom = $_POST['nom'];
$abreviation = $_POST['abreviation'];
$photo_p = $_POST['photo_p'];
$photo_g = $_POST['photo_g'];
$id = $_POST['id'];
$temp = implode(",",$entrain_out);
$temp1 = implode(",",$dir_out);
$temp2 = implode(",",$joueur_out);
$sql_ajout = 'update tb_equipes set id_age='.$age.', id_categorie='.$categorie.', list_id_entraineur ="'.$temp.'", sexe='.$section.', liste_id_joueur ="'.$temp2.'", liste_id_dirigeant ="'.$temp1.'", numero ='.$numero.', nom ="'.$nom.'", abreviation ="'.$abreviation.'", photo_p ="'.$photo_p.'", photo_g ="'.$photo_g.'" where id_equipe = '.$id;
$nbsql += 1;
$result_ajout = mysql_query($sql_ajout)or die(mysql_error());
$ecrire = 0;
echo $temp1;
echo $id;
// echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php?file=Page&name=menu_convoc\">";
?>
Et j'ai une erreur de ce type :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 ' list_id_entraineur ="24,54", sexe="", liste_id_joueur ="97,124
Que veux dire cette erreur ?
Merci pour votre aide