Sunday, April 4, 2010

$_GET Function

I want to tell you that the information sent with the GET method is visible to everyone (and it will displayed in the browser's address bar). It also has a limit on the amount of information to send. For instance:


(click image to view)

When the user click the submit button, the URL sent to the server could look something like below:



The "myBiodata.php" now can use the $_GET function to collect form data:


(click image to view)

############################################################
The Output:

My name is Ajak.
I am 24 years old!
############################################################

No comments:

Post a Comment