Re: [SMARTY] loop like foreach(array_expression as $key => $value) ?
| From: | Bertrand DUNOGIER | Date: | Sun, 29 Dec 2002 14:18:21 +0000 |
| Subject: | Re: [SMARTY] loop like foreach(array_expression as $key => $value) ? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6963@lists.php.net to get a copy of this message | ||
CHA> The first time I wanted to loop in Smarty I wanted access to the
CHA> key and the value. Is there a way to do this?
Yes, foreach... Look in the manual, it's in there.
Bertrand mailto:bdunogier@wanadoo.fr