redirect code
-
hi
i want to have a redirection after a test .
in my page :<form action="" method="post"> <input type="checkbox" name="prenom[]" value="adriana" />Adriana<br> <input type="checkbox" name="prenom[]" value="alessandra" />Alessandra<br> <input type="checkbox" name="prenom[]" value="candice" />Candice<br> <input type="checkbox" name="prenom[]" value="lili" />Lili<br> <input type="submit" value="Envoyer" /> </form> [wbcr_php_snippet id="352"]and the code of my snippet
foreach($_POST['prenom'] as $valeur) { header('Location: https://www.test.ojjo.ca/inscription/ '); }for the test when i submit, i want to change the page. But i come back to the same page .
do you know what wrong ?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘redirect code’ is closed to new replies.