Is there a variable like $PHP_SELF to show the variables in the URL as well?

E.G. Right now it shows:
/index.php

I want it to show:
/index.php?a=1&b=2

Know what I mean? Thanks.

    I think that's:

    echo $_SERVER['QUERYSTRING'];
    

    Brad

      Alas, no luck. Any other ideas? Anyone?

        $SERVER['QUERY_STRING']
        actually
        and
        $
        SERVER['PHP_SELF']

          Thank you, the underscore was the problem 🙂

            Write a Reply...