Google News
logo
PHP - Interview Questions
How can we access the data sent through the URL with the GET method?
In order to access the data sent via the GET method, we you use $_GET array like this :
 
www.freetimelearning.com?var=value
$variable = $_GET[“var”]; this will now contain ‘value’
Advertisement