[ic] unexpected behavior of [loop] tag

Danilo kosmo at trslab.it
Fri Aug 15 20:07:20 EDT 2003


Hi all,
someone can tall me where I'm in error?
I try to make some [loop] search but I get different behavior.

with this code

[loop search="
        st=db
        fi=products
       "]
   ID: [loop-code],
   field: [loop-field description]<br>
[/loop]

I get this result
ID: 1, field: carena anteriore racing senza plexiglass
ID: 2, field: kit bulloneria ergal Honda CBR 600 RR carena (58 pezzi) 
lightech

if I change the table like this

[loop search="
        st=db
        fi=brands
       "]
   ID: [loop-code],
   field: [loop-field brandname]<br>
[/loop]
   
ID: 42, field:
ID: 44, field:

the search fail and don't return the content of brandname field in the 
database.

of course that field is't empty

If I use the sql syntax all works fine.

thanks in advance for your help.

danilo ingami



More information about the interchange-users mailing list