function creerFicheSAV($option)
{
$this->option = $option;
mysql_query(INSERT INTO `fichesav` (`idFicheSAV` , `titreFiche` , `materiel` , `dateFin` , `commentaire` , `dureeInter` , `dateFiche` , `idClient`)
VALUES ('','$option[1]', '$option[2]', '$option[3]', '$option[4]', '$option[5]', '$option[6]', '$option[7]');
$this->resultat = "Création d une nouvelle fiche SAV";
return $this->resultat;
}
et on me renvoi :
Code : Tout sélectionner
Parse error: syntax error, unexpected T_STRING in c:\program files\easyphp1-8\www\ficheSAV.php5 on line 91
mysql_query(INSERT INTO `fichesav` (`idFicheSAV` , `titreFiche` , `materiel` , `dateFin` , `commentaire` , `dureeInter` , `dateFiche` , `idClient`)
je ne voi pas d ou provien le probleme ...