Re: Stupid array question

From: Date: Sat, 18 Aug 2001 12:06:16 +0000
Subject: Re: Stupid array question
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1354@lists.php.net to get a copy of this message
Luc Saint-Elie wrote:
I'd like to try : foreach ( ...... ) { $id = $t['id'];
$myarray[$id]['category']     = $category;
$myarray[$id]['version]      = $version; and so on....
to use {section} on $myarray, it needs to be a continuous
array (0...n). Maybe $t['id'] is does not return continuous indices.... Mike

« previous php.smarty.general (#1354) next »