88 of 100 menu

PHP Taskbook Level 9.8

Given an arbitrary two-dimensional array:

[ [11, 12, 13, 14, 15], [21, 22, 23, 24, 25], [31, 32, 33, 34, 35], [41, 42, 43, 44, 45], [51, 52, 53, 54, 55], ]

Swap the two given rows:

[ [51, 52, 53, 54, 55], [21, 22, 23, 24, 25], [31, 32, 33, 34, 35], [41, 42, 43, 44, 45], [11, 12, 13, 14, 15], ]

Let the file store JSON of countries in the following format:

{ [ "id": "3", "country": "country1", ], [ "id": "7", "country": "country2", ], [ "id": "9", "country": "country3", ] }

Output these countries as the following select:

<select> <option value="3">country1</option> <option value="7">country2</option> <option value="9">country3</option> </select>
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline