Header ('location:h.php'); en php
hiddouche
Messages postés
23
Date d'inscription
Statut
Membre
Dernière intervention
-
Mimiste Messages postés 1149 Date d'inscription Statut Membre Dernière intervention -
Mimiste Messages postés 1149 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
jai un probleme dans la redirection de mes page php voila le code :
<?php
header("Location:resultat.htm");
?>
mais il me donner ce erreur
Warning: Cannot modify header information - headers already sent by (output started at "un chemin") in index.php on line 2
jai un probleme dans la redirection de mes page php voila le code :
<?php
header("Location:resultat.htm");
?>
mais il me donner ce erreur
Warning: Cannot modify header information - headers already sent by (output started at "un chemin") in index.php on line 2
A voir également:
- Header ('location:h.php'); en php
- Logiciel location saisonniere - Forum Gestion de parc
- Problème location film youtube ✓ - Forum YouTube
- Logiciel location materiel - Forum Logiciels
- Location history - Accueil - Transports & Cartes
- Appdata location - Guide
3 réponses
La fonction header() doit être placée avant l'affichage de la page. Précisément, avant la balise <head>