<?php

 // Multidimensional array
 $regions = [
     "Kakheti"=> [
          "city_1"=>"Telavi",
          "city_2"=>"Gurjaani",
          "city_3"=>"Kvareli",
          "City_4"=>"Sighnaghi"
      ],
      "ShidaKartli"=> [
          "City_1"=>"Kaspi",
          "City_2"=>"Gori",
          "City_3"=>"Kareli",
          "City_4"=>"Khashuri"
      ],
      
      "Imereti"=> [
          "city_1"=>"Kutaisi",
          "city_2"=>"Zestafoni",
          "city_3"=>"Terjola",
          "City_4"=>"Chiatura"
      ]
  ];
  echo 'Kakheti is the region of Georgia' . '.' .  ' Its largest city is ' . $regions['Kakheti']['city_1'] . "\n";
  echo 'My homeland is ' . $regions['ShidaKartli']['City_1'] . '.' . 'I like also ' . $regions['ShidaKartli']['City_2'] .  "\n";
  echo '2 years ago'.  ',' . ' I visited to Imereti Firstly I  went to ' . $regions['Imereti']['city_1'] . "\n"; 
  echo 'after I went to '. $regions['Imereti']['city_3'] . ' and ' . $regions['Imereti']['city_2'] . "\n";
  
  ?> 
by Mariam Gelkhauri
2 years ago
PHP
Array types
Object Oriented PHP Tutorial
0
Pro tip: use ```triple backticks around text``` to write in code fences