Re: [php] Varible declaration
| From: | Chris Doyle | Date: | Sat, 24 Mar 2001 04:10:58 +0000 |
| Subject: | Re: [php] Varible declaration | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45404@lists.php.net to get a copy of this message | ||
Doesn't work still in my function i put a die($cid); and it doesn't display
anything value....
----- Original Message -----
From: "Chris Anderson" <chrisderson@ameritech.net>
To: "Chris Doyle" <gaur@planetveggie.com>; "PHP List"
<php-general@lists.php.net>
Sent: Friday, March 23, 2001 6:40 AM
Subject: Re: [PHP] [php] Varible declaration
> Remove the '' around the 1.
> ----- Original Message -----
> From: "Chris Doyle" <gaur@planetveggie.com>
> To: "PHP List" <php-general@lists.php.net>
> Sent: Friday, March 23, 2001 9:44 PM
> Subject: [PHP] [php] Varible declaration
>
>
> Hi,
>
> when I declare the varible $cid like this
"http://myserver/index.php?cid=1"
> it works fine, but when i declare it in the code like this
> $cid = '1';
>
> it doesn't work... is this maybe because of the level i declare the
varible?
> how to i declare it the same as "†'9¶
> HLGng# http://myserver/index.php?cid=1" but in
> my php code...
>
> PS.
> I use this varible in a function that is called by a function wich is
> included and so on... it is rather far down.
>
> Thanks
> Gaur
> _______________________________
>
> This email may contain confidential and/or privileged information for the
> sole use of the intended recipient. Any review or distribution by others
is
> strictly prohibited. If you have received this email in error, please
> contact the sender and delete all copies. Opinions, conclusions or other
> information expressed or contained in this email are not given or endorsed
> by the sender unless otherwise affirmed independently by the sender.
>
> _________________________________
>
>
>
>
> --
> 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
>
>