Re: Smarty template for parent-child form

From: Date: Tue, 24 Jul 2007 13:03:03 +0000
Subject: Re: Smarty template for parent-child form
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-259427@lists.php.net to get a copy of this message
What you do is assign the items to an array called, say, items. Then you use "foreach" in the template to iterate the array, just like you would in PHP itself. Example 7-8 (Contacts) is pretty close to what you're doing.
Need to take a look first. Thank you. I sincerely want to know how experts do it. :) -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 7.04) Linux 2.6.22.1 ^ ^ 21:02:01 up 12 days 23:06 1 user load average: 0.03 0.06 0.01 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk

« previous php.general (#259427) next »