This is killing me. Any help appreciated.
I have a form with various choices (which operation do you want to undergo?). Each operation has a recuperation period associated to it. e.g. 2 days, 5 days, 37 days etc. - the last choice being for an elephant trunk transfer 🙂.
My reasoning - I capture the operations array with an array ($operations[]). On the next page, within the array loop, I access the db to find out what the recuperation days ($recup_days[]) for each operation slected are. Probably not smart, but trying to capture the recup_days in an array on the form brought me nowhere.
The argument is that if someone selects more than one operation (elephant trunk operation plus an an ear tuck procedure), I want to know the recuperation days that are associated with each operation. Depending on the operation(s) chosen, I need to be left with the highest number of recuperation days required, i.e, elephant trunk transfer = 120 days, ear tuck = 2 days therefore if you choose these 2 procedures, then your total days recuperating is 120 days.
Perhaps not rocket science 2 u, but where and how is the best way to do this?
Thanks a lot. I will only be able to reply in 2 days, so its not that this is not killing me. I have donated an elephant trunk and will be out of circulation the next two days 🙂