how can we access the data sent through the url with the get method?

Report
Question
788 views

To access the data sent via the GET method, we use $_GET array like this:

Please explain why do you think this question should be reported?

Report Cancel
www.url.com?var=value
$variable = $_GET["var"]; this will now contain 'value'
PHP

Thread Reply

Leave an comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>