Jump to content

[SOLVED] Simple array question


gtal3x

Recommended Posts

Hello i have got an array for countries

$country_list = array(
"1" =>	"Afghanistan",
"2" =>	"Albania",
"3" =>	"Algeria",
"4" =>	"Andorra",
.........................

What i wont to do is to add an extra value to the array wich would be the icon of each country

something like that:

"4" =>	"Andorra" => "an.gif",

is it possible? if yes is it a good way to do it (i mean would it be easy for printing the results) or sould i do another array just for the flags?

Link to comment
https://forums.phpfreaks.com/topic/76925-solved-simple-array-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.