number of array elements
| From: | Steve | Date: | Sat, 02 Oct 2004 03:12:27 +0000 |
| Subject: | number of array elements | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11849@lists.php.net to get a copy of this message | ||
In a template I have the following section:
{section name=p loop=$wo} // $wo is an array of objects
$wo[p]->locations is an array of objects
I would like to know if the number of values in the $wo[p]->locations array
is already available. If so, what is the syntax to display it in a template?
Thanks in advance!
Steve