Hi all,
Quick question:
I have a form select field which I need to grab an amount from a field in my db (numeric)
What I want this to do is select the amount from the db (i.e 10) and automatically populate the select field incrementally by reducing each number by one, so that the desired output is:
<option value=10>
<option value=9>
<option value=8>
... and so on, down to 1.
Any ideas how I can achieve this? Using $++ makes it increase - how would I make it decrease?
Thanks,
Jonathen