Is there a way to combine each element of a multidimensional array with another array in php?
Posted on 2010-11-28
I have a multidimensional array which is a set of exploded numbers .ie
They have been exploded using "-" delimiter to input into a database using a form that I copy and paste the numbers from a spreadsheet. I can load them individually or as a set. just fine. However I need put them into the database combined with another array of letters ie:
Column 1 Column2
The letters array are the name of tables in the database and the numbers are being inserted with each number a different field. Again I can explode and load them fine, but I want to be able to take the letter array, and copy the numbers into the form and have the numbers load into the database based on the names in the letter array. Any ideas would be appreciated.