Hi,
Is it possible to do something like this using a multi dimensional array..
I have a textbox, where I enter a number 1 - 9, next to it, is a radiobutton, with a value pulled from a database, in this example a menu.
So I have...
textbox1 | radiobutton1
textbox2 | radiobutton2
textbox3 | radiobutton3
The user enters say 1 into textbox1, then selects the radiobutton1 for say, chicken, then enters 1 into textbox3 and selects radiobutton3 for beef. Then presses submit. How do I register these values as a single array? So when I display a confirmation for the user on the next page, I can just split the array? At the moment I'm using 2 arrays, 1 for textbox, and 1 for radiobutton. But it doesn't display properly when people leave fields blank.
On the exaple above, it seems to display the contents of empy textboxes as well, so above textbox2 is blank. So I get a blank field in my confirmation table.
Cheers
Ben