> Hello all,
>
> If I have a REQUEST variable that equals a list, like this:
>
> ['ITEM_NUMBER','PRICE']
>
> How would I get ITEM_NUMBER and PRICE into separate variables?
>
> The following code gives me a screen full of the appropriate values (using an
external
> method), but I can't figure out how to use the results:
>
> <dtml-in "parseCSV()">
> <dtml-var sequence-item><BR>
> </dtml-in>
>
> Displays:
> ['003020','149.95']
> ['003021','79.99']
Must be something like (untested , but should work , I hope):
<dtml-in "parseCSV()">
<dtml-var "_['sequence-item'][0]"><BR>
<dtml-var "_['sequence-item'][1]"><BR>
</dtml-in>
PM
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )