1. Create an HTML page with the form:

<FORM METHOD=”GET” ACTION=”submit.php”> What’s your name? <INPUT NAME=”myname” SIZE=10>

(Then press RETURN)

</FORM>

 

2. Then, create a PHP file named submit.php with the following code:

<?php

echo “Hello, “, $myname;

?>