Dear All,
I have a series of variables being sent from a form. I know that the variable names are going to be "amount1", "amount2" etc but I dont know which ones are set.
I need a way to increment the name of the variable (not the value) so I can do something like;
if(isset(amount1)){then do this....}
but I dont want to have to do this...
if(isset(amount1)){then do this....}
if(isset(amount2)){then do this....}
if(isset(amount3)){then do this....}...............
Please help!