MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

loop through Products



Hi...

I have a products database set-up with the following fields:

code    title    description    ....     ...    ..    ..    ....
ud1    ud2    ud3    ud4    ud5    ud6    ud7 .... ud20

Now... ud1 - ud20 are user defined fields (or specifications in other
words)... Most of the time... only 6,7 or 8 of them are defined... and
the rest are just blank.

How can I display only the fields that are defined in loop on
flypage.html?
I tried using [perl interpolate=1]... [/perl] stuff... but [item-field
ud$i] produces [item-field ud1], [item-field ud2] and so on output and
they don't get interpolated (displayed as is)...

HOWEVER... using [item-field ud1] or [item-field ud2] in [perl] produces
the right output (gets interpolated)...
WHY???

if it can substitute $i for a number.... why can't it interpolate it at
the same time?

Thanks for the help...

any ideas on how to do what i need will be appreciated


--
______________________________________
|                                    |
|          Dmitriy Katsman           |
|       Webmaster, The Wizard        |
|     Affordable Computers, Inc.     |
| http://www.affordablecomputers.com |
|      (800) 864-2345 Ext. 114       |
|____________________________________|





Search for: Match: Format: Sort by: