checking if any get variables are parsed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • monomaniac21

    checking if any get variables are parsed

    is there a way of checking for the existence of any get variables (i.e.
    unnamed)?

  • lorento

    #2
    Re: checking if any get variables are parsed

    Can you explain more what's your mean?

    I think you should use isset() function http://www.php.net/isset

    --



    monomaniac21 wrote:[color=blue]
    > is there a way of checking for the existence of any get variables (i.e.
    > unnamed)?[/color]

    Comment

    • Joe Estock

      #3
      Re: checking if any get variables are parsed

      monomaniac21 wrote:[color=blue]
      > is there a way of checking for the existence of any get variables (i.e.
      > unnamed)?
      >[/color]
      Try var_dump($_GET) ; If you want to see _ALL_ request variables then you
      could do var_dump($_REQU EST). The same holds true for cookies and sessions.

      Comment

      Working...