$countries = array(
'iran',
'usa',
'italy',
'brazil',
'france',
'germany',
'iraq',
'turkey',
'sweeden',
'poland'
);
echo '<p>country number 1 is : ' . $countries[0] . '</p>';
echo '<p>country number 1 is : ' . $countries[0] . '</p>';
echo '<p>country number 2 is : ' . $countries[1] . '</p>';
echo '<p>country number 3 is : ' . $countries[2] . '</p>';
echo '<p>country number 4 is : ' . $countries[3] . '</p>';
echo '<p>country number 5 is : ' . $countries[4] . '</p>';
echo '<p>country number 6 is : ' . $countries[5] . '</p>';
echo '<p>country number 7 is : ' . $countries[6] . '</p>';
echo '<p>country number 8 is : ' . $countries[7] . '</p>';
echo '<p>country number 9 is : ' . $countries[8] . '</p>';
echo '<p>country number 10 is : ' . $countries[9] . '</p>';
echo '<hr>';
$people = array(
'sepehr' => 'programmer',
'ali' => 'mechanic',
'sarina' => 'electrical engineer',
'mohammad' => 'physicist',
'mahdi' => 'artist'
);
echo '<p>sepehr job is : ' . $people['sepehr'] . '</p>';
echo '<p>ali job is : ' . $people['ali'] . '</p>';
echo '<p>sarina job is : ' . $people['sarina'] . '</p>';
echo '<p>mohammad job is : ' . $people['mohammad'] . '</p>';
echo '<p>mahdi job is : ' . $people['mahdi'] . '</p>';
echo '<hr>';
$languages = array(
'fa' => 'farsi',
'en' => 'english',
'pl' => 'polish',
'pt' => 'portuguese',
'ru' => 'russian',
'sr' => 'serbian',
'sk' => 'slovak',
'sw' => 'swedish',
'tg' => 'tajik',
'uk' => 'ukrainian'
);
echo '<p>"fa" is the abbreviation of ' . $languages['fa'] . '</p>';
echo '<p>"en" is the abbreviation of ' . $languages['en'] . '</p>';
echo '<p>"pl" is the abbreviation of ' . $languages['pl'] . '</p>';
echo '<p>"pt" is the abbreviation of ' . $languages['pt'] . '</p>';
echo '<p>"ru" is the abbreviation of ' . $languages['ru'] . '</p>';
echo '<p>"sr" is the abbreviation of ' . $languages['sr'] . '</p>';
echo '<p>"sk" is the abbreviation of ' . $languages['sk'] . '</p>';
echo '<p>"sw" is the abbreviation of ' . $languages['sw'] . '</p>';
echo '<p>"tg" is the abbreviation of ' . $languages['tg'] . '</p>';
echo '<p>"uk" is the abbreviation of ' . $languages['uk'] . '</p>';
echo '<hr>';
سلام وقت بخیر
عالی