• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in PHP by
Q:
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:

Related questions

0 votes
asked Jun 22, 2019 in PHP by SakshiSharma
0 votes
asked Jun 22, 2019 in PHP by SakshiSharma
...