Hi,
Could really do with some help.
So I've got a Multidimensional array like so
Array
(
[Asia] => Array
(
[0] => China
[1] => Japan
)
[Europe] => Array
(
[0] => France
[1] => Germany
[2] => Spain
[3] => UK
)
)
I have a Mysql table (continents pre-filled)
Continent - Country
Asia
Europe
I need to update country where continent is xxx
So I need a query/php function which will when run would fill in "china, japan" into "asia" and "france, germany, spain, uk" into "europe", like so
Continent - Country
Asia - China, Japan
Europe - France, Germany, Spain, UK
I don't really know where to start so I don't have a code. Would really appreciate some assistance.