On Thursday 16 January 2003 04:35, [-^-!-%- wrote:
> I agree with Chris, the quote should stay there to prevent confusion.
> Nevertheless, I often run in the same problem. Sometimes, the only way to
> fix it is by removing the quotes ($_GET[id]).
>
> I know PHP documents goes against this, but it dosn't always work with the
> quotes.
The recommended way to refer variables inside doubled-quoted strings is
enclose them in braces {}. Thus:
"{$_GET['id']}"
> Perhaps the dev team can look more into this.
Can you give examples where it doesn't work?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Only Irish coffee provides in a single glass all four essential food groups --
alcohol, caffeine, sugar, and fat.
-- Alex Levine
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php