I've got some questions about passing variables from form to php.
How can I just execute a php script without displaying it?
Can I execute one script and display another?
By this form a user called somebody must type in his emailadres. This is send to the post.php script
You can also use METHOD="GET" but you will see the passing variable then in your location bar of the browser.
At least you made the post.php site:
now you can use the variable names. They have the same name as the name of the INPUT areas.
<?php
echo($user); // Let you see: somebody
echo($email); // Let you see the value the user of the form gives.
// Now you can use some php who redirect to the page:
$redirect
?>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.