I am fairly new to PHP and working my way through it. I've managed to solve most problems independently, but this one has had me scuppered for a while. Any help is much appreciated!
I have a series of arrays produced by a form, as follows:
description_array = description1, description2, description3
account_array = account1, account2, account 3
Where I am trying to get to is:
item_array = 1 => description1, account1, 2 => description2, account2
It may be that I am struggling with the logic more than the actual code. I've tried all sorts of manipulations with foreach and while loops with little success.
Any thoughts gratefully received.
Thanks Aaron