I have a large multidimensional array that I would like to store into a MySQL database.
Below is an example of the array in question:
Array
(
[user1] =>
[name] => abc
...
[address] => xyz
...
...
[user2] =>
[name] => abc
...
[address] => xyz
}
The array values and database table columns all match (apart from the rowid in the database). I have seen various methods of doing something similar, but haven't found a way that works in this solution.
Many thanks :)
Update
Updated the array structure to give a clearer idea whats in the array itself.