Re: Question: Repopulating form parameters
| From: | David Robley | Date: | Mon, 13 Dec 2004 01:44:36 +0000 |
| Subject: | Re: Question: Repopulating form parameters | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204130@lists.php.net to get a copy of this message | ||
On Mon, 13 Dec 2004 00:56, Stuart Felenstein wrote:
>
> --- Jason Wong <php-general@gremlins.biz> wrote:
>
>>
>> If in doubt, print it out (TM)
>>
>> echo '$Ind<br>', "$Ind<br>", $Ind;
>>
> $Ind
> '1','2','3','4'
> '1','2','3','4'
>
> Funny, they are both the same.
I think you are missing the point Jason was trying to make, which is the
difference between '$Ind' and "$Ind". If you look again, you will see that
those are handled differently.
http://www.php.net/manual/en/language.types.string.php
will tell you more
about the difference in handling of single quoted and double quoted
strings.
--
David Robley
This isn't right. This isn't even wrong.