This is my array and I want to insert it in PostgreSQL table in PHP custom. I don't know how to do this.
Array
(
[yearlyno] => Array
(
[0] => 999
[1] => 22
)
[mothername] => Array
(
[0] => rabia
[1] => alia
)
[husbandname] => Array
(
[0] => dan
[1] => ali
)
[mothersage] => Array
(
[0] => 22
[1] => 45
)
)
I have searched but could not find any solution.
Please help! I am beginner in PHP.
people_tablewitharray keysas columns (mothername etc)pg_insertdocs here. Or convert it in postgresql array (example)