[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] another loop question
On Thursday 25 April 2002 5:12 pm, you wrote:
> > This seems so simple, but here I am 2 hours later and still cant get it
> > to work..
> >
> > [loop
> > random=1
> > search="
> > fi=testimonials
> > st=db
> > ra=yes
> > ml=1000
> > "]
> >
> > I thought the way to call out the value of the field was:
> > [value FIELDNAME]
> >
> > But then I also found in the docs:
> > [loop-field FIELDNAME]
> >
> > [/loop]
> >
> > I cant get either to work. Where am I going wrong?
> >
> > _
>
> [loop-field foo] should work. Is testimonials a table with the "info"
> inside of it? Also, did you define the table in dbconf/. and restart?
>
> Paul
>
and comes the "doh" moment...
you'd need to specify your returnfields, don't you?
ie.
[loop
random=1
search="
fi=testimonials
st=db
ra=yes
rf=foo,code
"]
tim