Re: probably stupid, but...

From: Date: Sun, 14 Nov 2004 02:06:23 +0000
Subject: Re: probably stupid, but...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-201940@lists.php.net to get a copy of this message
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

« previous php.general (#201940) next »