our approach
|
contact us
PHP Basics In Pictures
Basics
Variables
Numbers
User functions
Logic & Loops
Files
Pass form inputs to a script
Create a new Web page with this code:
<html>
<head>
<title></title>
</head>
<body>
<form method="post" action="http://www.yourwebsite.com/phpscripts/formoutput.php">
<h2>What is your name?</h2>
<input type="text" name="yourname"><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
Save the page as
simpleform.html
in the
PHPSCRIPTS
folder.
<< BACK
NEXT >>