0 votes
in PHP by
How can we access the data sent through the URL with the POST method?

1 Answer

0 votes
by

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:

...