Bah que les headers soient envoyés avant les données... .. .Envoyé par MANU_2
l'erreur vient de...
Les index ne sont pas des constantes... .. !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 // Recuperation des champs $Id_ut = $HTTP_POST_VARS[ch_id]; $nom = $HTTP_POST_VARS[ch_nom]; $prenom = $HTTP_POST_VARS[ch_prenom]; $rue = $HTTP_POST_VARS[ch_rue]; $code_postal = $HTTP_POST_VARS[ch_code_postal]; $ville = $HTTP_POST_VARS[ch_ville]; $pwd = $HTTP_POST_VARS[ch_pwd]; $mail = $HTTP_POST_VARS[ch_mail]; $statut = $HTTP_POST_VARS[ch_statut];
@ tchaOo°
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 // Recuperation des champs $Id_ut = $_POST['ch_id']; $nom = $_POST['ch_nom']; $prenom = $_POST['ch_prenom']; $rue = $_POST['ch_rue']; $code_postal = $_POST['ch_code_postal']; $ville = $_POST['ch_ville']; $pwd = $_POST['ch_pwd']; $mail = $_POST['ch_mail']; $statut = $_POST['ch_statut'];
Partager