Forgive me but I am a newbie trying to pick up the slack of a developer who left me in the lurch on a project and I have hit a bit of a roadblock. I have a nested array that I need to use to update a table in Mysql.
Basically the array looks like:
Array
(
[0] => Array
(
[id] => 85334
[name] => test
[firstName] => test
[middle] => t.
)
[1] => Array
(
[id] => 13111
[name] => test
[firstName] => test
[middle] =>
)
[2]etc...
)
I need this to be updated into a single Mysql table and I need to results in the table to basically reflect a single row for each set of the master array (i.e. [1].id, [1].name, [1],firstName, [1].middle would be one row in the table then loop back and do the same insert for each instance in the array).
Any help would be greatly appreciated.
Thanks,
Jason