Home »

How can we access the data sent through the URL with the POST method?

Question ListCategory: PHPHow can we access the data sent through the URL with the POST method?
alisataylore190 author asked 9 years ago
1 Answers
shah_kajal184 author answered 8 years ago

To access the data sent this way, you use the $_POST array.Imagine you have a form field called ‘var’ on the form, when the user clicks submit to the post form, you can then access the value like this:$_POST[“var”];

Please login or Register to Submit Answer