Answers

Question and Answer:

  Home  Junior PHP Developer

⟩ Tell us how can we access the data sent through the URL with the POST method?

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”];

 151 views

More Questions for you: