complex array
| From: | adwinwijaya | Date: | Tue, 03 Feb 2004 04:29:42 +0000 |
| Subject: | complex array | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10918@lists.php.net to get a copy of this message | ||
Hello smarty users,
I have question about how to presenting an complex array with smarty.
For example I have a complex array (array that contain some array) like:
A=array(
B=array('x'=>'y','y'=>'c',..),
C=array(
array('1'=>'x','2'=>'y',..),
array('1'=>'a','2'=>'b',..)
), ...
);
what i want to do is to display like
A contain
B
(list of members of B array)
C
(list of members of C array)
Can i do that in smarty ?
and how to do that ?
thanks
--
Best regards,
adwinwijaya mailto:adwinwijaya@yahoo.com.au