Re: var question
| From: | Plutarck | Date: | Mon, 16 Apr 2001 22:32:53 +0000 |
| Subject: | Re: var question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48826@lists.php.net to get a copy of this message | ||
Note: Yes, I meant string instrument. Any references to YoYo Ma will be
dealt with swiftly and severly.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Plutarck"" <aemuli@spamclause-yahoo.com> wrote in message
news:9bfp5e$169$1@toye.p.sourceforge.net...
> Add an "=" on the end of your url. Viola.
>
>
> --
> Plutarck
> Should be working on something...
> ...but forgot what it was.
>
>
> ""Jeroen Geusebroek"" <Jeroen.Geusebroek@intellit.nl> wrote in
> message
>
> news:NCBBJKHJIKHIFECNNOAMCENKECAA.Jeroen.Geusebroek@intellit.nl...
> > Hi Guys,
> >
> > I have a question about the way PHP handles var/strings.
> >
> > Let's say i have this URL: http://foo.bar.com/?login.
> > And in my script i have this code:
> >
> > if($login) { echo "blab"; } or
> > if(isset($login)) { echo "blab"; }
> >
> > It always returns FALSE. I think that is because the string
> > is empty. Shouldn't PHP, even if a var is empty, put it in
> > his var-list?
> >
> > Is there another way to do what i want?
> >
> > Thanks,
> >
> > Jeroen Geusebroek
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>