[ic] [include] in [list]

interchange-users@lists.akopia.com interchange-users@lists.akopia.com
Fri Jun 29 12:37:00 2001


How do I do something like this:
[query
        interpolate=0
        table=prices
        list=1
        more=1
        ml=10
        st=sql
        sql=|__SQL_SELECT_ITEMS__| 
] 
[list]
        [sql-alternate 2]
                DO SOME STUFF
        [else]
                DO SOME OTHER STUFF
        [/else]
        [/sql-alternate]
        [include ../htdocs/ic/featured_item.html]

[/list]
[/query]

featured_item.html contains stuff like this:
[sql-param itemid] [sql-param title]...

I want to use the stuff in the file featured_item.html on other pages in 
the site. If I set interpolate=1 in the query tag the include works but 
the sql-alternate does not.

Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700