which does well for the "fm" key - but I'm getting hung up on how to grab the value from the second associated "fmtax" array key. I was thinking using something like current/next as it iterates through...but am kinda scratching my head on it.

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The array does not make sense from an information architecture perspective. I don't know where it might have come from, but an active-record design pattern would strongly suggest that one array or object should exactly match one row of the database. Each element of the main array would represent a single row of the database and would be processed by a single INSERT statement. Something like this: