Re: Bugs in associative arrays handling in a section ??
| From: | Hans-Peter Oeri | Date: | Fri, 12 Oct 2001 11:18:00 +0000 |
| Subject: | Re: Bugs in associative arrays handling in a section ?? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1683@lists.php.net to get a copy of this message | ||
Hi!
On Fri, 12 Oct 2001, LIMBOURG Arnaud wrote:
> The index is random, it seems Smarty wants to have sequential strating from
> zero, am i right to assume this ? any workaround ?
yes, you're right.
Workaround: $secondarray = array_values( $firstarray );
Don't conform!
IkKampfCaspar75