Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question$classe = $_POST['classe'];
$proc = $_POST['proc'];
$dated = $_POST['dated'];
$datef = $_POST['datef'];
$prof = $_POST['prof'];
$mat = $_POST['mat'];
$sal = $_POST['sal'];
$hor = $_POST['hor'];
$info = $_POST['info'];
$contenu = ''; $contenu .= "\$classe=".$_POST['classe']."\r\n"; $contenu .= "\$truc=".$_POST['proc']."\r\n"; $contenu .= "\$date=".$_POST['dated']."\r\n"; $contenu .= "\$nom=".$_POST['prof']."\r\n"; $contenu .= "\$matiere=."$_POST['mat']."\r\n";
$contenu = '';
$contenu .= $_POST['classe']."\r\n";
$contenu .= $_POST['proc']."\r\n";
$contenu .= $_POST['dated']."\r\n";
$contenu .= $_POST['datef']."\r\n";
$contenu .= $_POST['prof']."\r\n";
$contenu .= $_POST['mat']."\r\n";
$contenu .= $_POST['sal']."\r\n";
$contenu .= $_POST['hor']."\r\n";
$contenu .= $_POST['info']."\r\n";
il reste la connextion
$db = mysql_connect('$host', '$login', '$password'); mysql_select_db('$nom_de_la_base',$db);
$db = mysql_connect($host, $login, $password); mysql_select_db($nom_de_la_base,$db);