How to use PHP & Tag Form
How to use PHP & Tag Form This tutorial how to using PHP and add tag <form> to PHP
ShotDev Focus:
- add tag <form> to PHP
- add tag <form> to PHP
Example 1
php_form1.php
- <html>
- <head>
- <title>ShotDev.Com Tutorial</title>
- </head>
- <body>
- <form action="php_post.php" method="post" name="form1">
- <input name="txt1" type="text">
- <input name="txt2" type="text">
- <input name="btnSubmit" type="submit" value="Submit">
- </form>
- </body>
- </html>
Create a php file and save to path root-path/myphp/
Screenshot
php_form2.php
- <html>
- <head>
- <title>ShotDev.Com Tutorial</title>
- </head>
- <body>
- <form action="php_post.php" method="post" name="form1">
- <input name="txt1" type="text">
- <input name="txt2" type="text">
- <input name="btnSubmit" type="submit" value="Submit">
- </form>
- </body>
- </html>
Create a php file and save to path root-path/myphp/
Screenshot
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment