Home »

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

Question ListCategory: PHPHow can we access the data sent through the URL with the GET method?
jessica537 author asked 10 years ago
1 Answers
jeanderson295 author answered 8 years ago

In order to access the data sent via the GET method, we you use $_GET array like this:
http://www.url.com?var=value
$variable = $_GET[“var”]; this will now contain ‘value’

Please login or Register to Submit Answer