Sunday, April 4, 2010

$_POST Function

The information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send. For instance:


(click image to view)

When the user clicks the submit button, the URL will look like this:



The "myBiodata.php" can now use the $_POST 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