Re: probably stupid, but...

From: Date: Sat, 13 Nov 2004 15:28:43 +0000
Subject: Re: probably stupid, but...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-201916@lists.php.net to get a copy of this message
* 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 Curt -- Quoth the Raven, "Nevermore."

« previous php.general (#201916) next »