how the get the length of array from smarty
[email protected] (James Mao) Thu, 29 Sep 2005 19:56:44 +0800
| Newsgroups | php.smarty.dev |
|---|---|
| Message-ID | <[email protected]> |
hi, i have an array in the template file $users, how can i determin the length of this array, so that if the length is zero i can output some desc strings. And another question is how can i determine if the variable is NULL? Thanks, James