Re: Question: Repopulating form parameters
| From: | Jason Wong | Date: | Sun, 12 Dec 2004 13:27:26 +0000 |
| Subject: | Re: Question: Repopulating form parameters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204096@lists.php.net to get a copy of this message | ||
On Sunday 12 December 2004 20:18, Stuart Felenstein wrote:
> If I choose 1, 2 , 3 then
>
> print_r($Ind); returns
> '1','2','3'
> This looks okay.
You *should* know what it should look like so I'll take your word for it.
> I could not find a difference with '$Ind', or "$Ind",
> except I would think '$Ind' is correct, since " "
> would be a literal string.
Don't think, (to be more accurate, do *think*, but don't *speculate*).
If in doubt, print it out (TM)
echo '$Ind<br>', "$Ind<br>", $Ind;
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Murphy's Law is recursive. Washing your car to make it rain doesn't work.
*/