RE: [PHP] Re: URL variables

2001-10-25 Thread Boget, Chris
> > the only way you may go wrong with this is with scoping, > > $yourvar isn't available in a function inside yourpage.php. > It can be, though. You just need to tell the function to look for the > global variable $yourvar: > function yourFunction() { > global $yourvar; > ... > } or f

[PHP] Re: URL variables

2001-10-25 Thread Mike Frazer
> If the link is > > Then in yourpage.php ... > > echo($yourvar); > > the only way you may go wrong with this is with scoping, $yourvar isn't > available in a function inside yourpage.php. It can be, though. You just need to tell the function to look for the global variable $yourvar: function

[PHP] RE: URL variables

2001-10-25 Thread Tim Ward
They're just there ... If the link is Then in yourpage.php ... echo($yourvar); 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: