Hi,
I am sending form elements from one page to another. The second page needs to loop through the form elements (variables) received, and determine if they should be added to a database or not.
How can I structure the syntax so that the condition test can reference the variable names correctly?
For example the variables are status1, status2, status3 etc. I need the condition test to be able to say 'if statusX == 1 then .....' sort of thing.
I guess I need something equivelent to 'eval' in other languages.
Thanks for any help. Graham