For the data elements, try wrapping them in another level of array, so where you have “employee2” => $row[’employee2′] wrap an array() around the whole thing.

I think that should get you closer to what you need.