skip to main
|
skip to sidebar
Php Consultant
bidvertiser
internet advertising
Monday, September 8, 2008
PHP Form handling – GET Method
HTML Forms same as before.
Two submission methods: POST and GET.
<br /> <br /> <form action="recv_form_get.php" method="get"> <br /> <pre> <br /> Enter your roll number <input name="txtName" size="7"> <br /> Enter your name <input name="txtRno" size="25"> <br /> Enter your address <input name="txtAdrs" size="35"> <br /> <input type="reset" value="Reset"> <br /> <input type="submit" value="Send"> <br /> </pre> <br /> </form> <br /> <br />Using the GET method. <br />How to receive data from GET method form. <br />We can use the PHP’s $_GET[ ] collection. <br /> <br /><?php <br /> echo "Your name is: ".$_GET['txtName']."<br>"; <br /> echo "Your roll number is: ".$_GET['txtRno']."<br>"; <br /> echo "Your address is: ".$_GET['txtAdrs']."<br>"; <br />?> <br />
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Forex
Blog Archive
►
2009
(2)
►
February
(1)
►
January
(1)
▼
2008
(35)
►
October
(14)
▼
September
(21)
Example 4 file reading
PHP file reading
Example open for read
PHP file open for read
Example code 4 create & open
PHP file create and open
Other functions
Session Name & ID
Session Start
PHP Session Functions Reference
What is a PHP Session?
PHP Form handling – POST Method
PHP Form handling – GET Method
The ‘include’ and ‘require’ functions Example
The ‘include’ and ‘require’ functions
DATE & TIME Formats
SAMPLE CODES
PHP Contents (Continued)
PHP Contents (Continued)
PHP Contents (Continued)
PHP Contents
Feedjit Live Blog Stats
page-rank10.com - PageRank10 Experiment
page-rank10.com
- PageRank10 Experiment
Partner links
Super Cars
Wresrtling
frontpage hit counter
No comments:
Post a Comment