Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


 

Previous Page Page 2 of 3 Next Page

Create An Html Form Dynamically In PHP

Enter the following PHP code in a file and save it as 'input.php3'.  It will create a form to allow users to enter in their name.

PHP Code:

<?php

echo '
<html><body>

<form method="post" action="input.php3">

Enter Your Name
<input type="text" name="Name"></input><br>

<input type="submit" name="submit" value="click"></input>

</form>

</body></html>
';
?>

This section shows what will be seen, when the file is viewed in a HTML browser.

Web Browser Result:


Enter Your Name

Previous Page Page 2 of 3 Next Page