Good evening all!
I have a an editable of type text in a DBF.
In which I enter values as:
To output it I am doing something as:
Now I want to access the item individually. So I went ahead and dumped the values using:
and got the output as:
My question is:
How can I access only the Item 23945 or 475d individually?
Is it possible using the key?
In short, is it possible to access value individually? If Yes, How?
Regards,
GenXCoders
I have a an editable of type text in a DBF.
- Code: Select all
<cms:editable name='vals' type='text' />
In which I enter values as:
23945+475d
To output it I am doing something as:
- Code: Select all
<cms:each vals sep='+'> <cms:show item /><br /> </cms:each>
Now I want to access the item individually. So I went ahead and dumped the values using:
- Code: Select all
<cms:each vals sep='+'> <cms:dump /> </cms:each>
and got the output as:
each
k_total_items: 2
k_count: 0
k_first_item: 1
k_last_item: 0
key: 0
item: 23945
each
k_total_items: 2
k_count: 1
k_first_item: 0
k_last_item: 1
key: 1
item: 475d
My question is:
How can I access only the Item 23945 or 475d individually?
Is it possible using the key?
In short, is it possible to access value individually? If Yes, How?
Regards,
GenXCoders