my array looks like:
Array
(
[name] => Array
(
[0] => Matrix
[1] => Ryan
)
[surname] => Array
(
[0] => Relaoded
[1] => Lose
)
)
my problem is that, the key and value doesn't match the count.
How to insert this array like exact structure to mysql with PDO?
In mysql table
----------------------------------
| id name surname |
| 1 Matrix Relaoded |
| 2 Ryan Lose |
----------------------------------
of course i need solution programmatically.
I spent hours, to go trought this awesome forum, but i can't find solution :(
Thanks ;)