A Simple HTML Form
|
<html> <head> <title>A simple HTML form</title> </head> <body> <form action="formDataRead.php" method="GET"> <input type="text" name="user"> <br> <textarea name="address" rows="5" cols="40"> </textarea> <br> <input type="submit" value="hit it!"> </form> </body> </html>
<!-- formDataRead.php <html> <head> <title>Reading input from the form</title> </head> <body> <?php print "Welcome <b>$user</b><P>nn"; print "Your address is:<P>nn<b>$address</b>"; ?> </body> </html>
-->
|
|
|
|
|
HTML code for linking to this page:
|