Re: [SMARTY] dynamic creation of array
| From: | Tim Burden | Date: | Fri, 22 Nov 2002 07:33:41 +0000 |
| Subject: | Re: [SMARTY] dynamic creation of array | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6500@lists.php.net to get a copy of this message | ||
Do an array of the arrays and loop through that. Pass one big array to
Smarty, section it, then foreach the subarrays. I think.
----- Original Message -----
From: "Karthikeyan" <skarthik@listertech.co.in>
To: <smarty-general@lists.php.net>
Sent: Friday, November 22, 2002 2:16 AM
Subject: [SMARTY] dynamic creation of array
I am working on a tree menu program. Depending on the sub nodes for each
node and their subnodes..so on.. i have to retrive from database. Now i will
have to send it to smarty. In section how i will manipulate them. Because i
do not know.. how many arrays i gonna create. Anybody can give me
suggestions?
S.Karthikeyan
Lister Technologies Pvt Ltd
#235, V.M Street,
Mylapore,
Chennai - 600 004
India