This PHP example program demonstrates how to write and handle a simple form.
<!DOCTYPE> <html> <body> <form action="Simple.php" method="post"> Name: <input type="text" name="name"><br /><br /> E-mail: <input type="text" name="email"><br /><br /> <input type="submit"> </form> </body> </html>
<!DOCTYPE> <html> <body> Welcome <?php echo htmlspecialchars($_POST["name"]); ?><br /> Your email address is: <?php echo htmlspecialchars($_POST["email"]); ?> </body> </html>
© 20072024 XoaX.net LLC. All rights reserved.