Re: probably stupid, but...

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

 



At 16:28 13-11-2004, Curt Zirzow wrote:
* Thus wrote -{ Rene Brehmer }-:
> 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 ?

Yeah, its defined in the array section where it defines the proper
way to access array's (Array do's and dont's)

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

Thanks alot :) ... Could've sworn I read everything in the syntax section ... but must've overlooked that somehow :-/


Rene

--
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