Re: dynamically naming arrays

From: Date: Thu, 17 May 2001 23:10:16 +0000
Subject: Re: dynamically naming arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53342@lists.php.net to get a copy of this message
On Thu, May 17, 2001 at 01:27:52PM -0400, Matthew Luchak wrote: > any hints on dynamically naming arrays? > > ie: > > $stuff= explode ("!", $contents); > > //$stuff[3] is "foo" > > $stuff[3]=explode("&",$stuff[4]); ${$stuff[3]} = '...'; http://www.php.net/manual/en/language.variables.variable.php Matt

« previous php.general (#53342) next »