They're just there ...

If the link is <a href='yourpage.php?yourvar=fred'>

Then in yourpage.php ...


the only way you may go wrong with this is with scoping, $yourvar isn't
available in a function inside yourpage.php.

Tim Ward
        From:  Clint Tredway [SMTP:[EMAIL PROTECTED]]
        Sent:  24 October 2001 20:13
        To:  PHP General
        Subject:  URL variables

        How do I reference URL variables..?

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to