At 08:35 AM 7/2/2004, you wrote:
In reading through the manual I find reference to using, or not using as
the case may
be, the loop tag within embedded perl.
It states:
NOTE: This would not usually be used with embedded Perl -- a better
choice would normally be:
for(@list) { CODE }
But suppose I wanted to replicate the following within embedded perl:
[loop search="
fi=state.txt
sf=country
se=[default country US]
rf=state,name,country
un=yes
tf=sorder,name
ml=100
"
option=state]
How would this be structured or how would I call the search without the
loop tag?
The $DbSearch Perl object would allow you to do this - see the Template Docs:5.2 for more info.
- Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 suppressed (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax===============================================================
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.