Re: Passing Variables
| From: | Rasmus Lerdorf | Date: | Fri, 30 Jun 2000 08:50:34 +0000 |
| Subject: | Re: Passing Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3984@lists.php.net to get a copy of this message | ||
> Thank you, Rasmus. That worked just fine! Now all the variables light up in
> the url as I load the next page, but...
> Why can't I call them in the page? For example, I have this variable:
> $namee
> that is passed in the url. Shouldn't I be able to call it like this:
> <? echo $namee?>
> I'm missing something, I'm sure. Your help (or anyone's!) is appreciated.
Are you in a function? If so, go read the section in the manual on
variable scopes. If you are not inside a function then it should work
fine unless you are doing something really dumb.
-Rasmus