Dynamically creating multi-array field

From: Date: Mon, 27 Oct 2008 04:17:00 +0000
Subject: Dynamically creating multi-array field
Groups: php.general 
Request: Send a blank email to php-general+get-282463@lists.php.net to get a copy of this message
PHP Version 5.2.4 <? $node = '[5][1][]'; ${'tpl'.$node} = 'some text'; print_r($tpl); // null ?> I really don't like to use the EVAL function, but do I have choice?? This sucks.

« previous php.general (#282463) next »