When I print_r($_POST) to determine what's being posted from my form, I get this:
Array ( [name] => Array ( [0] => Joe [1] => [2] => [3] => [4] => [5] => ) [animal] => Array ( [0] => Dog [1] => Cat [2] => [3] => [4] => [5] => ) [submit] => Validez )
Then, I array_combine to (duh) combine the arrays, and I get this:
Array ( [Joe] => Dog [] => )
I thought I'd get this:
Array ( [Joe] => Dog [] => Cat)
Am I supposed to, or have I misunderstood array_combine? How can I get this working the way I expected it to?