how to get name of GET variables present in url?
Moderator: General Moderators
how to get name of GET variables present in url?
hi, i have seen in sites like facebook that they use url like this page.php?showcomment&storyid=1 i want to know the names of variables that are present but not set to a value like showcomments in above example.in simple words i want to check the presence of variable if present some output and it not something else. thanks
Re: how to get name of GET variables present in url?
Tip:
Then look at the output. The answer is there.
Code: Select all
var_dump($_GET);