[ic] ITL help needed

Davor Ocelic docelic at mail.inet.hr
Sat May 21 06:03:34 EDT 2005


On Sat, 21 May 2005 10:33:26 +0200
Tommy Stoffels <tstoffels at gmail.com> wrote:

> Hi there.
> I'm not sure whether I subscribed to the right mailinglist for
> discussing this issue, so if I'm wrong here feel free to just tell me
> / redirect me to the appropriate list.

This is the right one, don't worry. (And we're all tolerant anyway ;-)

> I have *severe* problems with that ITL language.
> Trying to write my own component atm and it just won't work out.
> To get 'something' working at least I thought I'd display the price
> for every product:
> --
> Look at all these prices:
> [query prefix=prefix sql=|
>         SELECT products.price AS price
>         FROM products
>     |]
>         [prefix-param price]
>         [prefix-pos 0]
>     [/query]

Try this:

[query prefix=prefix type=list sql=|SELECT price FROM products|]
  [list]
    [prefix-param price],
    [prefix-pos 0] <br/>
  [/list]
[/query]



Enjoy,
-doc


More information about the interchange-users mailing list