{section} problem with filter
| From: | philippe dot morange at ca-indosuez dot com | Date: | Fri, 17 Jan 2003 09:41:59 +0000 |
| Subject: | {section} problem with filter | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7246@lists.php.net to get a copy of this message | ||
Hi,
I have a problem with sections not displaying fully my array:
I have an array that I set in PHP
I filter this array with array_filter
I display this array in Smarty, ---> But it is not displayed properly.
The problem I think comes from the fact that that when I filter the array, some elements have been
deleted, and so for exemple I may have $array[0] and $array[2], but $array[1] would have been
deleted.
Smarty will then display only $array[0] and stop after that...