RE: probably stupid, but...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-{ Rene Brehmer }- <mailto:metalbunny@xxxxxxxxxxxxxx>
    on Friday, November 12, 2004 3:53 PM said:

> At 21:32 12-11-2004, Chris W. Parker wrote:
>> also you need to wrap your array values in { } when an array is
>> referenced within a string. i.e.
>> 
>> // normal
>> $value = $_GET['something'];
>> 
>> // with { }
>> $value = "Here is some data: {$_GET['something']}";
> 
> Is that actually in the manual ??? If it is, where ?

Yes.

http://us2.php.net/manual/en/language.types.array.php

Search for "More examples to demonstrate this fact" then go down near
the bottom of that box and you'll see it.



Chris.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux