Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Türkiye Şehir Listesi HTML Select Option
<select name="Sehir">
<option value="0">------</option>
<option value="1">Adana</option>
<option value="2">Adıyaman</option>
<option value="3">Afyonkarahisar</option>
<option value="4">Ağrı</option>
<option value="5">Amasya</option>
<option value="6">Ankara</option>
<option value="7">Antalya</option>
<option value="8">Artvin</option>
<option value="9">Aydın</option>
<option value="10">Balıkesir</option>
<option value="11">Bilecik</option>
<option value="12">Bingöl</option>
<option value="13">Bitlis</option>
<option value="14">Bolu</option>
<option value="15">Burdur</option>
<option value="16">Bursa</option>
<option value="17">Çanakkale</option>
<option value="18">Çankırı</option>
<option value="19">Çorum</option>
<option value="20">Denizli</option>
<option value="21">Diyarbakır</option>
<option value="22">Edirne</option>
<option value="23">Elazığ</option>
<option value="24">Erzincan</option>
<option value="25">Erzurum</option>
<option value="26">Eskişehir</option>
<option value="27">Gaziantep</option>
<option value="28">Giresun</option>
<option value="29">Gümüşhane</option>
<option value="30">Hakkâri</option>
<option value="31">Hatay</option>
<option value="32">Isparta</option>
<option value="33">Mersin</option>
<option value="34">İstanbul</option>
<option value="35">İzmir</option>
<option value="36">Kars</option>
<option value="37">Kastamonu</option>
<option value="38">Kayseri</option>
<option value="39">Kırklareli</option>
<option value="40">Kırşehir</option>
<option value="41">Kocaeli</option>
<option value="42">Konya</option>
<option value="43">Kütahya</option>
<option value="44">Malatya</option>
<option value="45">Manisa</option>
<option value="46">Kahramanmaraş</option>
<option value="47">Mardin</option>
<option value="48">Muğla</option>
<option value="49">Muş</option>
<option value="50">Nevşehir</option>
<option value="51">Niğde</option>
<option value="52">Ordu</option>
<option value="53">Rize</option>
<option value="54">Sakarya</option>
<option value="55">Samsun</option>
<option value="56">Siirt</option>
<option value="57">Sinop</option>
<option value="58">Sivas</option>
<option value="59">Tekirdağ</option>
<option value="60">Tokat</option>
<option value="61">Trabzon</option>
<option value="62">Tunceli</option>
<option value="63">Şanlıurfa</option>
<option value="64">Uşak</option>
<option value="65">Van</option>
<option value="66">Yozgat</option>
<option value="67">Zonguldak</option>
<option value="68">Aksaray</option>
<option value="69">Bayburt</option>
<option value="70">Karaman</option>
<option value="71">Kırıkkale</option>
<option value="72">Batman</option>
<option value="73">Şırnak</option>
<option value="74">Bartın</option>
<option value="75">Ardahan</option>
<option value="76">Iğdır</option>
<option value="77">Yalova</option>
<option value="78">Karabük</option>
<option value="79">Kilis</option>
<option value="80">Osmaniye</option>
<option value="81">Düzce</option>
</select>
@kvlknctk

This comment has been minimized.

Copy link

@kvlknctk kvlknctk commented Apr 30, 2015

nasıl hazırlayacağım diye düşünüyordum iki saattir, yazdım pat diye çıktı.
sağol teşekkürler ^^

@serkanhursgunel

This comment has been minimized.

Copy link

@serkanhursgunel serkanhursgunel commented May 7, 2015

Nasıl bir dua aldınız hocam anlatamam :D

@BurakSevinc

This comment has been minimized.

Copy link

@BurakSevinc BurakSevinc commented Jan 26, 2016

Cennetten kombine kaptın hacı :D

@sametaylak

This comment has been minimized.

Copy link

@sametaylak sametaylak commented Jan 30, 2016

Dostum harbiden büyük dua aldın yani :D

@sadullahceran

This comment has been minimized.

Copy link

@sadullahceran sadullahceran commented Feb 14, 2016

Allah ne muradın varsa versin başkan :D

@kadircimen

This comment has been minimized.

Copy link

@kadircimen kadircimen commented Apr 19, 2016

teşekkür ederim ellerine sağlık

@ozgursoy

This comment has been minimized.

Copy link

@ozgursoy ozgursoy commented Jun 9, 2016

Cenneti garantiledin kardeşim 😄

@hayatbiralem

This comment has been minimized.

Copy link

@hayatbiralem hayatbiralem commented Oct 4, 2016

Teşekkürler. Paylaştığınız listeyi kullanarak büyük şehirler başta olmak üzere şehirleri alfabetik olarak sıraladım ben de:

<select name="city">
    <option value="">İkametgah İli</option>
    <option value="34">İstanbul</option>
    <option value="6">Ankara</option>
    <option value="35">İzmir</option>
    <option value="1">Adana</option>
    <option value="2">Adıyaman</option>
    <option value="3">Afyonkarahisar</option>
    <option value="4">Ağrı</option>
    <option value="68">Aksaray</option>
    <option value="5">Amasya</option>
    <option value="7">Antalya</option>
    <option value="75">Ardahan</option>
    <option value="8">Artvin</option>
    <option value="9">Aydın</option>
    <option value="10">Balıkesir</option>
    <option value="74">Bartın</option>
    <option value="72">Batman</option>
    <option value="69">Bayburt</option>
    <option value="11">Bilecik</option>
    <option value="12">Bingöl</option>
    <option value="13">Bitlis</option>
    <option value="14">Bolu</option>
    <option value="15">Burdur</option>
    <option value="16">Bursa</option>
    <option value="17">Çanakkale</option>
    <option value="18">Çankırı</option>
    <option value="19">Çorum</option>
    <option value="20">Denizli</option>
    <option value="21">Diyarbakır</option>
    <option value="81">Düzce</option>
    <option value="22">Edirne</option>
    <option value="23">Elazığ</option>
    <option value="24">Erzincan</option>
    <option value="25">Erzurum</option>
    <option value="26">Eskişehir</option>
    <option value="27">Gaziantep</option>
    <option value="28">Giresun</option>
    <option value="29">Gümüşhane</option>
    <option value="30">Hakkâri</option>
    <option value="31">Hatay</option>
    <option value="76">Iğdır</option>
    <option value="32">Isparta</option>
    <option value="46">Kahramanmaraş</option>
    <option value="78">Karabük</option>
    <option value="70">Karaman</option>
    <option value="36">Kars</option>
    <option value="37">Kastamonu</option>
    <option value="38">Kayseri</option>
    <option value="71">Kırıkkale</option>
    <option value="39">Kırklareli</option>
    <option value="40">Kırşehir</option>
    <option value="79">Kilis</option>
    <option value="41">Kocaeli</option>
    <option value="42">Konya</option>
    <option value="43">Kütahya</option>
    <option value="44">Malatya</option>
    <option value="45">Manisa</option>
    <option value="47">Mardin</option>
    <option value="33">Mersin</option>
    <option value="48">Muğla</option>
    <option value="49">Muş</option>
    <option value="50">Nevşehir</option>
    <option value="51">Niğde</option>
    <option value="52">Ordu</option>
    <option value="80">Osmaniye</option>
    <option value="53">Rize</option>
    <option value="54">Sakarya</option>
    <option value="55">Samsun</option>
    <option value="56">Siirt</option>
    <option value="57">Sinop</option>
    <option value="58">Sivas</option>
    <option value="73">Şırnak</option>
    <option value="59">Tekirdağ</option>
    <option value="60">Tokat</option>
    <option value="61">Trabzon</option>
    <option value="62">Tunceli</option>
    <option value="63">Şanlıurfa</option>
    <option value="64">Uşak</option>
    <option value="65">Van</option>
    <option value="77">Yalova</option>
    <option value="66">Yozgat</option>
    <option value="67">Zonguldak</option>
</select>
@cengiz-demir

This comment has been minimized.

Copy link

@cengiz-demir cengiz-demir commented Jan 22, 2017

<option value="none" selected="" disabled="">İl</option>

Bende 1 seçeneği düzenleyeyim :)

@Hasokeyk

This comment has been minimized.

Copy link

@Hasokeyk Hasokeyk commented Feb 22, 2017

Hocam çok teşekkürler :) 👍

@recruitname

This comment has been minimized.

Copy link

@recruitname recruitname commented Apr 11, 2017

belki sizin için küçük ama insanlık adına büyük bir iş yaptınız aya çıksanız bu kadar çok gururlanmazdım :D

@icavlan

This comment has been minimized.

Copy link

@icavlan icavlan commented Aug 16, 2017

Lazım olursa değerleride şehir ismi olarak düzenlemeside benden;

		<select name="il" style="width:150px">
         <option value="">İl Seçiniz</option>
<option value="İstanbul">İstanbul</option>
<option value="Ankara">Ankara</option>
<option value="İzmir">İzmir</option>
<option value="Adana">Adana</option>
<option value="Adıyaman">Adıyaman</option>
<option value="Afyonkarahisar">Afyonkarahisar</option>
<option value="Ağrı">Ağrı</option>
<option value="Aksaray">Aksaray</option>
<option value="Amasya">Amasya</option>
<option value="Antalya">Antalya</option>
<option value="Ardahan">Ardahan</option>
<option value="Artvin">Artvin</option>
<option value="Aydın">Aydın</option>
<option value="Balıkesir">Balıkesir</option>
<option value="Bartın">Bartın</option>
<option value="Batman">Batman</option>
<option value="Bayburt">Bayburt</option>
<option value="Bilecik">Bilecik</option>
<option value="Bingöl">Bingöl</option>
<option value="Bitlis">Bitlis</option>
<option value="Bolu">Bolu</option>
<option value="Burdur">Burdur</option>
<option value="Bursa">Bursa</option>
<option value="Çanakkale">Çanakkale</option>
<option value="Çankırı">Çankırı</option>
<option value="Çorum">Çorum</option>
<option value="Denizli">Denizli</option>
<option value="Diyarbakır">Diyarbakır</option>
<option value="Düzce">Düzce</option>
<option value="Edirne">Edirne</option>
<option value="Elazığ">Elazığ</option>
<option value="Erzincan">Erzincan</option>
<option value="Erzurum">Erzurum</option>
<option value="Eskişehir">Eskişehir</option>
<option value="Gaziantep">Gaziantep</option>
<option value="Giresun">Giresun</option>
<option value="Gümüşhane">Gümüşhane</option>
<option value="Hakkâri">Hakkâri</option>
<option value="Hatay">Hatay</option>
<option value="Iğdır">Iğdır</option>
<option value="Isparta">Isparta</option>
<option value="Kahramanmaraş">Kahramanmaraş</option>
<option value="Karabük">Karabük</option>
<option value="Karaman">Karaman</option>
<option value="Kars">Kars</option>
<option value="Kastamonu">Kastamonu</option>
<option value="Kayseri">Kayseri</option>
<option value="Kırıkkale">Kırıkkale</option>
<option value="Kırklareli">Kırklareli</option>
<option value="Kırşehir">Kırşehir</option>
<option value="Kilis">Kilis</option>
<option value="Kocaeli">Kocaeli</option>
<option value="Konya">Konya</option>
<option value="Kütahya">Kütahya</option>
<option value="Malatya">Malatya</option>
<option value="Manisa">Manisa</option>
<option value="Mardin">Mardin</option>
<option value="Mersin">Mersin</option>
<option value="Muğla">Muğla</option>
<option value="Muş">Muş</option>
<option value="Nevşehir">Nevşehir</option>
<option value="Niğde">Niğde</option>
<option value="Ordu">Ordu</option>
<option value="Osmaniye">Osmaniye</option>
<option value="Rize">Rize</option>
<option value="Sakarya">Sakarya</option>
<option value="Samsun">Samsun</option>
<option value="Siirt">Siirt</option>
<option value="Sinop">Sinop</option>
<option value="Sivas">Sivas</option>
<option value="Şırnak">Şırnak</option>
<option value="Tekirdağ">Tekirdağ</option>
<option value="Tokat">Tokat</option>
<option value="Trabzon">Trabzon</option>
<option value="Tunceli">Tunceli</option>
<option value="Şanlıurfa">Şanlıurfa</option>
<option value="Uşak">Uşak</option>
<option value="Van">Van</option>
<option value="Yalova">Yalova</option>
<option value="Yozgat">Yozgat</option>
<option value="Zonguldak">Zonguldak</option>
@lahmacun

This comment has been minimized.

Copy link

@lahmacun lahmacun commented Dec 18, 2017

Elinize sağlık hocam, büyük bir zahmetten kurtardınız beni 👍

@NovaYear

This comment has been minimized.

Copy link

@NovaYear NovaYear commented Dec 28, 2017

ihtiyacı olana php için arraylı kullanım, lowercase, uppercase gibi fonsiyonlarla büyük küçük yapılabilir.
veritabanından yada post tan gelen veri ile otomatik seçim yapılabilir. bir kere array tanımlanıp defalarca kullanılailbir.
çok kolaylık sağlar. value oalrak plaka kodu yerine şehir adı geleiblir yada tam tersi..

<?php
$sehir=array(34=>"istanbul",6=>"ankara",35=>"izmir",1=>"adana",2=>"adıyaman",3=>"afyon",4=>"ağrı",68=>"aksaray",5=>"amasya",
7=>"antalya",75=>"ardahan",8=>"artvin",9=>"aydın",10=>"balıkesir",74=>"bartın",72=>"batman",69=>"bayburt",11=>"bilecik",
12=>"bingöl",13=>"bitlis",14=>"bolu",15=>"burdur",16=>"bursa",17=>"çanakkale",18=>"çankırı",19=>"çorum",20=>"denizli",
21=>"diyarbakır",81=>"düzce",22=>"edirne",23=>"elazığ",24=>"erzincan",25=>"erzurum",26=>"eskişehir",27=>"gaziantep",
28=>"giresun",29=>"gümüşhane",30=>"hakkari",31=>"hatay",76=>"ığdır",32=>"ısparta",33=>"içel",78=>"karabük",70=>"karaman",
36=>"kars",37=>"kastamonu",38=>"kayseri",71=>"kırıkkale",39=>"kırklareli",40=>"kırşehir",79=>"kilis",41=>"kocaeli",42=>"konya",
43=>"kütahya",44=>"malatya",45=>"manisa",46=>"maraş",47=>"mardin",48=>"muğla",49=>"muş",50=>"nevşehir",51=>"niğde",
52=>"ordu",80=>"osmaniye",53=>"rize",54=>"sakarya",55=>"samsun",56=>"siirt",57=>"sinop",58=>"sivas",73=>"şırnak",
59=>"tekirdağ",60=>"tokat",61=>"trabzon",62=>"tunceli",63=>"şanlıurfa",64=>"uşak",65=>"van",77=>"yalova",66=>"yozgat",
67=>"zonguldak");
?>

value değerini plaka kodu yapmak

<select name="sehir" id="sehir">
<? foreach($sehir as $key => $val){?>
<option value="<?=$key;?>" <? if($key==$mysql_line['sehir']){echo ' selected';}?>><?=$val;?></option>
<? }?>
</select>

value değerini şehir adı yapmak

<select name="sehir" id="sehir">
<? foreach($sehir as $key => $val){?>
<option value="<?=$val;?>" <? if($val==$mysql_line['sehir']){echo ' selected';}?>><?=$val;?></option>
<? }?>
</select>

basit kullanım

<select name="sehir" id="sehir">
<? foreach($sehir as $key => $val){?>
<option value="<?=$key;?>"><?=$val;?></option>
<? }?>
</select>
@hasanunal

This comment has been minimized.

Copy link

@hasanunal hasanunal commented Jan 16, 2018

emeğinize sağlık

@ozknozsrt

This comment has been minimized.

Copy link

@ozknozsrt ozknozsrt commented Jan 18, 2018

Harikasınız

@ozknozsrt

This comment has been minimized.

Copy link

@ozknozsrt ozknozsrt commented Feb 1, 2018

Ben de JSON formatında vereyim o zaman, aradığımızda bulalım diye

{ "1": "Adana", "2": "Adiyaman", "3": "Afyonkarahisar", "4": "Ağrı", "5": "Amasya", "6": "Ankara", "7": "Antalya", "8": "Artvin", "9": "Aydın", "10": "Balikesir", "11": "Bilecik", "12": "Bingöl", "13": "Bitlis", "14": "Bolu", "15": "Burdur", "16": "Bursa", "17": "Çanakkale", "18": "Çankırı", "19": "Çorum", "20": "Denizli", "21": "Diyarbakır", "22": "Edirne", "23": "Elazığ", "24": "Erzincan", "25": "Erzurum", "26": "Eskişehir", "27": "Gaziantep", "28": "Giresun", "29": "Gümüşhane", "30": "Hakkari", "31": "Hatay", "32": "Isparta", "33": "Mersin", "34": "İstanbul", "35": "İzmir", "36": "Kars", "37": "Kastamonu", "38": "Kayseri", "39": "Kırklareli", "40": "Kırşehir", "41": "Kocaeli", "42": "Konya", "43": "Kütahya", "44": "Malatya", "45": "Manisa", "46": "Kahramanmaraş", "47": "Mardin", "48": "Muğla", "49": "Muş", "50": "Nevşehir", "51": "Niğde", "52": "Ordu", "53": "Rize", "54": "Sakarya", "55": "Samsun", "56": "Siirt", "57": "Sinop", "58": "Sivas", "59": "Tekirdağ", "60": "Tokat", "61": "Trabzon", "62": "Tunceli", "63": "Şanlıurfa", "64": "Uşak", "65": "Van", "66": "Yozgat", "67": "Zonguldak", "68": "Aksaray", "69": "Bayburt", "70": "Karaman", "71": "Kırıkkale", "72": "Batman", "73": "Şırnak", "74": "Bartın", "75": "Ardahan", "76": "Iğdır", "77": "Yalova", "78": "Karabük", "79": "Kilis", "80": "Osmaniye", "81": "Düzce" }

@ufukyildiz55

This comment has been minimized.

Copy link

@ufukyildiz55 ufukyildiz55 commented Feb 12, 2018

Süper bir paylaşım olmuş. Her yapıya uyarlanmış hemen hemen 👍 Elleriniz dert görmesin.

@bilalmalkoc

This comment has been minimized.

Copy link

@bilalmalkoc bilalmalkoc commented Feb 25, 2018

Sağol kardeş eyvallah :)

@burakozturk16

This comment has been minimized.

Copy link

@burakozturk16 burakozturk16 commented Mar 26, 2018

buyrun django için simple_tag

@register.simple_tag
def get_city_list():
    cities = ['Adana', 'Adıyaman', 'Afyon', 'Ağrı', 'Amasya', 'Ankara', 'Antalya', 'Artvin',
              'Aydın', 'Balıkesir', 'Bilecik', 'Bingöl', 'Bitlis', 'Bolu', 'Burdur', 'Bursa', 'Çanakkale',
              'Çankırı', 'Çorum', 'Denizli', 'Diyarbakır', 'Edirne', 'Elazığ', 'Erzincan', 'Erzurum', 'Eskişehir',
              'Gaziantep', 'Giresun', 'Gümüşhane', 'Hakkari', 'Hatay', 'Isparta', 'Mersin', 'İstanbul', 'İzmir',
              'Kars', 'Kastamonu', 'Kayseri', 'Kırklareli', 'Kırşehir', 'Kocaeli', 'Konya', `'Kütahya',` 'Malatya',
              'Manisa', 'Kahramanmaraş', 'Mardin', 'Muğla', 'Muş', 'Nevşehir', 'Niğde', 'Ordu', 'Rize', 'Sakarya',
              'Samsun', 'Siirt', 'Sinop', 'Sivas', 'Tekirdağ', 'Tokat', 'Trabzon', 'Tunceli', 'Şanlıurfa', 'Uşak',
              'Van', 'Yozgat', 'Zonguldak', 'Aksaray', 'Bayburt', 'Karaman', 'Kırıkkale', 'Batman', 'Şırnak',
              'Bartın', 'Ardahan', 'Iğdır', 'Yalova', 'Karabük', 'Kilis', 'Osmaniye', 'Düzce']

    return cities
@kspo

This comment has been minimized.

Copy link

@kspo kspo commented May 7, 2018

helal size

@CihanTAYLAN

This comment has been minimized.

Copy link

@CihanTAYLAN CihanTAYLAN commented Jun 7, 2018

Beyler Yavaş Ciğer Sökeceksiniz
Helal Olsun Adammmsınız

@ionurboz

This comment has been minimized.

Copy link

@ionurboz ionurboz commented Jun 8, 2018

Elinize emeğinize sağlık. Çok başarılı. Umutsuzca aradım ama bulabildim. Şaşırdım!

@Aytekin

This comment has been minimized.

Copy link

@Aytekin Aytekin commented Jun 9, 2018

C# şehirler ve plakalar listesi lazım olursa, bu da benden olsun

        var sehirler = new List<Sehirler>
        {
            new Sehirler{SehirPlaka=01 , SehirAdi="Adana"},
            new Sehirler{SehirPlaka=02 , SehirAdi="Adıyaman"},
            new Sehirler{SehirPlaka=03 , SehirAdi="Afyonkarahisar"},
            new Sehirler{SehirPlaka=04 , SehirAdi="Ağrı"},
            new Sehirler{SehirPlaka=05 , SehirAdi="Amasya"},
            new Sehirler{SehirPlaka=06 , SehirAdi="Ankara"},
            new Sehirler{SehirPlaka=07 , SehirAdi="Antalya"},
            new Sehirler{SehirPlaka=08 , SehirAdi="Artvin"},
            new Sehirler{SehirPlaka=09 , SehirAdi="Aydın"},
            new Sehirler{SehirPlaka=10 , SehirAdi="Balıkesir"},
            new Sehirler{SehirPlaka=11 , SehirAdi="Bilecik"},
            new Sehirler{SehirPlaka=12 , SehirAdi="Bingöl"},
            new Sehirler{SehirPlaka=13 , SehirAdi="Bitlis"},
            new Sehirler{SehirPlaka=14 , SehirAdi="Bolu"},
            new Sehirler{SehirPlaka=15 , SehirAdi="Burdur"},
            new Sehirler{SehirPlaka=16 , SehirAdi="Bursa"},
            new Sehirler{SehirPlaka=17 , SehirAdi="Çanakkale"},
            new Sehirler{SehirPlaka=18 , SehirAdi="Çankırı"},
            new Sehirler{SehirPlaka=19 , SehirAdi="Çorum"},
            new Sehirler{SehirPlaka=20 , SehirAdi="Denizli"},
            new Sehirler{SehirPlaka=21 , SehirAdi="Diyarbakır"},
            new Sehirler{SehirPlaka=22 , SehirAdi="Edirne"},
            new Sehirler{SehirPlaka=23 , SehirAdi="Elazığ"},
            new Sehirler{SehirPlaka=24 , SehirAdi="Erzincan"},
            new Sehirler{SehirPlaka=25 , SehirAdi="Erzurum"},
            new Sehirler{SehirPlaka=26 , SehirAdi="Eskişehir"},
            new Sehirler{SehirPlaka=27 , SehirAdi="Gaziantep"},
            new Sehirler{SehirPlaka=28 , SehirAdi="Giresun"},
            new Sehirler{SehirPlaka=29 , SehirAdi="Gümüşhane"},
            new Sehirler{SehirPlaka=30 , SehirAdi="Hakkâri"},
            new Sehirler{SehirPlaka=31 , SehirAdi="Hatay"},
            new Sehirler{SehirPlaka=32 , SehirAdi="Isparta"},
            new Sehirler{SehirPlaka=33 , SehirAdi="Mersin"},
            new Sehirler{SehirPlaka=34 , SehirAdi="İstanbul"},
            new Sehirler{SehirPlaka=35 , SehirAdi="İzmir"},
            new Sehirler{SehirPlaka=36 , SehirAdi="Kars"},
            new Sehirler{SehirPlaka=37 , SehirAdi="Kastamonu"},
            new Sehirler{SehirPlaka=38 , SehirAdi="Kayseri"},
            new Sehirler{SehirPlaka=39 , SehirAdi="Kırklareli"},
            new Sehirler{SehirPlaka=40 , SehirAdi="Kırşehir"},
            new Sehirler{SehirPlaka=41 , SehirAdi="Kocaeli"},
            new Sehirler{SehirPlaka=42 , SehirAdi="Konya"},
            new Sehirler{SehirPlaka=43 , SehirAdi="Kütahya"},
            new Sehirler{SehirPlaka=44 , SehirAdi="Malatya"},
            new Sehirler{SehirPlaka=45 , SehirAdi="Manisa"},
            new Sehirler{SehirPlaka=46 , SehirAdi="Kahramanmaraş"},
            new Sehirler{SehirPlaka=47 , SehirAdi="Mardin"},
            new Sehirler{SehirPlaka=48 , SehirAdi="Muğla"},
            new Sehirler{SehirPlaka=49 , SehirAdi="Muş"},
            new Sehirler{SehirPlaka=50 , SehirAdi="Nevşehir"},
            new Sehirler{SehirPlaka=51 , SehirAdi="Niğde"},
            new Sehirler{SehirPlaka=52 , SehirAdi="Ordu"},
            new Sehirler{SehirPlaka=53 , SehirAdi="Rize"},
            new Sehirler{SehirPlaka=54 , SehirAdi="Sakarya"},
            new Sehirler{SehirPlaka=55 , SehirAdi="Samsun"},
            new Sehirler{SehirPlaka=56 , SehirAdi="Siirt"},
            new Sehirler{SehirPlaka=57 , SehirAdi="Sinop"},
            new Sehirler{SehirPlaka=58 , SehirAdi="Sivas"},
            new Sehirler{SehirPlaka=59 , SehirAdi="Tekirdağ"},
            new Sehirler{SehirPlaka=60 , SehirAdi="Tokat"},
            new Sehirler{SehirPlaka=61 , SehirAdi="Trabzon"},
            new Sehirler{SehirPlaka=62 , SehirAdi="Tunceli"},
            new Sehirler{SehirPlaka=63 , SehirAdi="Şanlıurfa"},
            new Sehirler{SehirPlaka=64 , SehirAdi="Uşak"},
            new Sehirler{SehirPlaka=65 , SehirAdi="Van"},
            new Sehirler{SehirPlaka=66 , SehirAdi="Yozgat"},
            new Sehirler{SehirPlaka=67 , SehirAdi="Zonguldak"},
            new Sehirler{SehirPlaka=68 , SehirAdi="Aksaray"},
            new Sehirler{SehirPlaka=69 , SehirAdi="Bayburt"},
            new Sehirler{SehirPlaka=70 , SehirAdi="Karaman"},
            new Sehirler{SehirPlaka=71 , SehirAdi="Kırıkkale"},
            new Sehirler{SehirPlaka=72 , SehirAdi="Batman"},
            new Sehirler{SehirPlaka=73 , SehirAdi="Şırnak"},
            new Sehirler{SehirPlaka=74 , SehirAdi="Bartın"},
            new Sehirler{SehirPlaka=75 , SehirAdi="Ardahan"},
            new Sehirler{SehirPlaka=76 , SehirAdi="Iğdır"},
            new Sehirler{SehirPlaka=77 , SehirAdi="Yalova"},
            new Sehirler{SehirPlaka=78 , SehirAdi="Karabük"},
            new Sehirler{SehirPlaka=79 , SehirAdi="Kilis"},
            new Sehirler{SehirPlaka=80 , SehirAdi="Osmaniye"},
            new Sehirler{SehirPlaka=81 , SehirAdi ="Düzce"}
           
        };
@ahmetonurslmz

This comment has been minimized.

Copy link

@ahmetonurslmz ahmetonurslmz commented Jun 16, 2018

Hocam manşallah ihtiyacım olan iki farklı türü de bu ne yürek böyle 👍

@sonkanbayrakdar

This comment has been minimized.

Copy link

@sonkanbayrakdar sonkanbayrakdar commented Jun 26, 2018

<?php
$sehir=array(34=>"istanbul",6=>"ankara",35=>"izmir",1=>"adana",2=>"adıyaman",3=>"afyon",4=>"ağrı",68=>"aksaray",5=>"amasya",
7=>"antalya",75=>"ardahan",8=>"artvin",9=>"aydın",10=>"balıkesir",74=>"bartın",72=>"batman",69=>"bayburt",11=>"bilecik",
12=>"bingöl",13=>"bitlis",14=>"bolu",15=>"burdur",16=>"bursa",17=>"çanakkale",18=>"çankırı",19=>"çorum",20=>"denizli",
21=>"diyarbakır",81=>"düzce",22=>"edirne",23=>"elazığ",24=>"erzincan",25=>"erzurum",26=>"eskişehir",27=>"gaziantep",
28=>"giresun",29=>"gümüşhane",30=>"hakkari",31=>"hatay",76=>"ığdır",32=>"ısparta",33=>"içel",78=>"karabük",70=>"karaman",
36=>"kars",37=>"kastamonu",38=>"kayseri",71=>"kırıkkale",39=>"kırklareli",40=>"kırşehir",79=>"kilis",41=>"kocaeli",42=>"konya",
43=>"kütahya",44=>"malatya",45=>"manisa",46=>"maraş",47=>"mardin",48=>"muğla",49=>"muş",50=>"nevşehir",51=>"niğde",
52=>"ordu",80=>"osmaniye",53=>"rize",54=>"sakarya",55=>"samsun",56=>"siirt",57=>"sinop",58=>"sivas",73=>"şırnak",
59=>"tekirdağ",60=>"tokat",61=>"trabzon",62=>"tunceli",63=>"şanlıurfa",64=>"uşak",65=>"van",77=>"yalova",66=>"yozgat",
67=>"zonguldak");
?>
<select name="sehir" id="sehir">
<?php foreach($sehir as $key => $val){?>
<option value="<?=$key;?>"><?=$val;?></option>
<?php }?>
</select>

<?php $link = "https://www.google.com/search?q=BURAYA";?>

sonucu php nin içinde nasıl gösterebilirim

@ardagermiyanoglu

This comment has been minimized.

Copy link

@ardagermiyanoglu ardagermiyanoglu commented Jun 28, 2018

Modern imece.

@bulentsakarya

This comment has been minimized.

Copy link

@bulentsakarya bulentsakarya commented Jul 4, 2018

Lazım olursa, A'dan Z'ye sade şehir listesi.

Adana
Adıyaman
Afyonkarahisar
Ağrı
Aksaray
Amasya
Ankara
Antalya
Ardahan
Artvin
Aydın
Balıkesir
Bartın
Batman
Bayburt
Bilecik
Bingöl
Bitlis
Bolu
Burdur
Bursa
Çanakkale
Çankırı
Çorum
Denizli
Diyarbakır
Düzce
Edirne
Elazığ
Erzincan
Erzurum
Eskişehir
Gaziantep
Giresun
Gümüşhane
Hakkâri
Hatay
Iğdır
Isparta
İstanbul
İzmir
Kahramanmaraş
Karabük
Karaman
Kars
Kastamonu
Kayseri
Kırıkkale
Kırklareli
Kırşehir
Kilis
Kocaeli
Konya
Kütahya
Malatya
Manisa
Mardin
Mersin
Muğla
Muş
Nevşehir
Niğde
Ordu
Osmaniye
Rize
Sakarya
Samsun
Siirt
Sinop
Sivas
Şanlıurfa
Şırnak
Tekirdağ
Tokat
Trabzon
Tunceli
Uşak
Van
Yalova
Yozgat
Zonguldak

Plakaya göre sade şehir listesi

Adana
Adıyaman
Afyonkarahisar
Ağrı
Amasya
Ankara
Antalya
Artvin
Aydın
Balıkesir
Bilecik
Bingöl
Bitlis
Bolu
Burdur
Bursa
Çanakkale
Çankırı
Çorum
Denizli
Diyarbakır
Edirne
Elazığ
Erzincan
Erzurum
Eskişehir
Gaziantep
Giresun
Gümüşhane
Hakkâri
Hatay
Isparta
Mersin
İstanbul
İzmir
Kars
Kastamonu
Kayseri
Kırklareli
Kırşehir
Kocaeli
Konya
Kütahya
Malatya
Manisa
Kahramanmaraş
Mardin
Muğla
Muş
Nevşehir
Niğde
Ordu
Rize
Sakarya
Samsun
Siirt
Sinop
Sivas
Tekirdağ
Tokat
Trabzon
Tunceli
Şanlıurfa
Uşak
Van
Yozgat
Zonguldak
Aksaray
Bayburt
Karaman
Kırıkkale
Batman
Şırnak
Bartın
Ardahan
Iğdır
Yalova
Karabük
Kilis
Osmaniye
Düzce

HTML Liste

<ul>
<li><a href="">Adana</a></li>
<li><a href="">Adıyaman</a></li>
<li><a href="">Afyonkarahisar</a></li>
<li><a href="">Ağrı</a></li>
<li><a href="">Aksaray</a></li>
<li><a href="">Amasya</a></li>
<li><a href="">Ankara</a></li>
<li><a href="">Antalya</a></li>
<li><a href="">Ardahan</a></li>
<li><a href="">Artvin</a></li>
<li><a href="">Aydın</a></li>
<li><a href="">Balıkesir</a></li>
<li><a href="">Bartın</a></li>
<li><a href="">Batman</a></li>
<li><a href="">Bayburt</a></li>
<li><a href="">Bilecik</a></li>
<li><a href="">Bingöl</a></li>
<li><a href="">Bitlis</a></li>
<li><a href="">Bolu</a></li>
<li><a href="">Burdur</a></li>
<li><a href="">Bursa</a></li>
<li><a href="">Çanakkale</a></li>
<li><a href="">Çankırı</a></li>
<li><a href="">Çorum</a></li>
<li><a href="">Denizli</a></li>
<li><a href="">Diyarbakır</a></li>
<li><a href="">Düzce</a></li>
<li><a href="">Edirne</a></li>
<li><a href="">Elazığ</a></li>
<li><a href="">Erzincan</a></li>
<li><a href="">Erzurum</a></li>
<li><a href="">Eskişehir</a></li>
<li><a href="">Gaziantep</a></li>
<li><a href="">Giresun</a></li>
<li><a href="">Gümüşhane</a></li>
<li><a href="">Hakkâri</a></li>
<li><a href="">Hatay</a></li>
<li><a href="">Iğdır</a></li>
<li><a href="">Isparta</a></li>
<li><a href="">İstanbul</a></li>
<li><a href="">İzmir</a></li>
<li><a href="">Kahramanmaraş</a></li>
<li><a href="">Karabük</a></li>
<li><a href="">Karaman</a></li>
<li><a href="">Kars</a></li>
<li><a href="">Kastamonu</a></li>
<li><a href="">Kayseri</a></li>
<li><a href="">Kırıkkale</a></li>
<li><a href="">Kırklareli</a></li>
<li><a href="">Kırşehir</a></li>
<li><a href="">Kilis</a></li>
<li><a href="">Kocaeli</a></li>
<li><a href="">Konya</a></li>
<li><a href="">Kütahya</a></li>
<li><a href="">Malatya</a></li>
<li><a href="">Manisa</a></li>
<li><a href="">Mardin</a></li>
<li><a href="">Mersin</a></li>
<li><a href="">Muğla</a></li>
<li><a href="">Muş</a></li>
<li><a href="">Nevşehir</a></li>
<li><a href="">Niğde</a></li>
<li><a href="">Ordu</a></li>
<li><a href="">Osmaniye</a></li>
<li><a href="">Rize</a></li>
<li><a href="">Sakarya</a></li>
<li><a href="">Samsun</a></li>
<li><a href="">Siirt</a></li>
<li><a href="">Sinop</a></li>
<li><a href="">Sivas</a></li>
<li><a href="">Şanlıurfa</a></li>
<li><a href="">Şırnak</a></li>
<li><a href="">Tekirdağ</a></li>
<li><a href="">Tokat</a></li>
<li><a href="">Trabzon</a></li>
<li><a href="">Tunceli</a></li>
<li><a href="">Uşak</a></li>
<li><a href="">Van</a></li>
<li><a href="">Yalova</a></li>
<li><a href="">Yozgat</a></li>
<li><a href="">Zonguldak</a></li>
</ul>
@ekremay

This comment has been minimized.

Copy link

@ekremay ekremay commented Jul 18, 2018

Plakaları ile birlikte saf alfabetik olarak sıralanmış hali, iyi çalışmalar.

<select name="select_il_listesi">
<option value="">Şehir seçin</option>
<option value="1">Adana</option>
<option value="2">Adıyaman</option>
<option value="3">Afyonkarahisar</option>
<option value="4">Ağrı</option>
<option value="68">Aksaray</option>
<option value="5">Amasya</option>
<option value="6">Ankara</option>
<option value="7">Antalya</option>
<option value="75">Ardahan</option>
<option value="8">Artvin</option>
<option value="9">Aydın</option>
<option value="10">Balıkesir</option>
<option value="74">Bartın</option>
<option value="72">Batman</option>
<option value="69">Bayburt</option>
<option value="11">Bilecik</option>
<option value="12">Bingöl</option>
<option value="13">Bitlis</option>
<option value="14">Bolu</option>
<option value="15">Burdur</option>
<option value="16">Bursa</option>
<option value="17">Çanakkale</option>
<option value="18">Çankırı</option>
<option value="19">Çorum</option>
<option value="20">Denizli</option>
<option value="21">Diyarbakır</option>
<option value="81">Düzce</option>
<option value="22">Edirne</option>
<option value="23">Elazığ</option>
<option value="24">Erzincan</option>
<option value="25">Erzurum</option>
<option value="26">Eskişehir</option>
<option value="27">Gaziantep</option>
<option value="28">Giresun</option>
<option value="29">Gümüşhane</option>
<option value="30">Hakkâri</option>
<option value="31">Hatay</option>
<option value="76">Iğdır</option>
<option value="32">Isparta</option>
<option value="34">İstanbul</option>
<option value="35">İzmir</option>
<option value="46">Kahramanmaraş</option>
<option value="78">Karabük</option>
<option value="70">Karaman</option>
<option value="36">Kars</option>
<option value="37">Kastamonu</option>
<option value="38">Kayseri</option>
<option value="71">Kırıkkale</option>
<option value="39">Kırklareli</option>
<option value="40">Kırşehir</option>
<option value="79">Kilis</option>
<option value="41">Kocaeli</option>
<option value="42">Konya</option>
<option value="43">Kütahya</option>
<option value="44">Malatya</option>
<option value="45">Manisa</option>
<option value="47">Mardin</option>
<option value="33">Mersin</option>
<option value="48">Muğla</option>
<option value="49">Muş</option>
<option value="50">Nevşehir</option>
<option value="51">Niğde</option>
<option value="52">Ordu</option>
<option value="80">Osmaniye</option>
<option value="53">Rize</option>
<option value="54">Sakarya</option>
<option value="55">Samsun</option>
<option value="56">Siirt</option>
<option value="57">Sinop</option>
<option value="58">Sivas</option>
<option value="63">Şanlıurfa</option>
<option value="73">Şırnak</option>
<option value="59">Tekirdağ</option>
<option value="60">Tokat</option>
<option value="61">Trabzon</option>
<option value="62">Tunceli</option>
<option value="64">Uşak</option>
<option value="65">Van</option>
<option value="77">Yalova</option>
<option value="66">Yozgat</option>
<option value="67">Zonguldak</option>
</select>
@kaydeniz

This comment has been minimized.

Copy link

@kaydeniz kaydeniz commented Sep 20, 2018

Java formatına uygun hali aşağıdadır.
String [] iller= new String[]{"Adana", "Adiyaman", "Afyonkarahisar", "Ağrı", "Amasya", "Ankara", "Antalya", "Artvin", "Aydın", "Balıkesir", "Bilecik", "Bingöl", "Bitlis", "Bolu", "Burdur", "Bursa", "Çanakkale", "Çankırı", "Çorum", "Denizli", "Diyarbakır", "Edirne", "Elazığ", "Erzincan","Erzurum", "Eskişehir", "Gaziantep", "Giresun", "Gümüşhane", "Hakkari", "Hatay", "Isparta", "Mersin", "İstanbul", "İzmir", "Kars", "Kastamonu", "Kayseri", "Kırklareli", "Kırşehir", "Kocaeli", "Konya", "Kütahya", "Malatya", "Manisa", "Kahramanmaraş", "Mardin", "Muğla", "Muş", "Nevşehir", "Niğde", "Ordu", "Rize", "Sakarya", "Samsun", "Siirt", "Sinop", "Sivas", "Tekirdağ", "Tokat", "Trabzon", "Tunceli", "Şanlıurfa", "Uşak", "Van", "Yozgat", "Zonguldak", "Aksaray", "Bayburt", "Karaman", "Kırıkkale", "Batman", "Şırnak", "Bartın", "Ardahan", "Iğdır", "Yalova", "Karabük", "Kilis", "Osmaniye", "Düzce"};

@muzafferkoluman

This comment has been minimized.

Copy link

@muzafferkoluman muzafferkoluman commented Sep 26, 2018

Ne mübarek insanlarsınız <3

@sadicann

This comment has been minimized.

Copy link

@sadicann sadicann commented Oct 12, 2018

Büyükşehirlerin javascript için 'Array' haline getirilmiş hali
var buyuksehirler = ["ADANA","ANKARA","ANTALYA","AYDIN","BALIKESİR","BURSA","DENİZLİ","DİYARBAKIR","ERZURUM","ESKİŞEHİR","GAZİANTEP","HATAY","İSTANBUL","İZMİR","KAHRAMANMARAŞ","KAYSERİ","KOCAELİ","KONYA","MALATYA","MANİSA","MARDİN","MERSİN","MUĞLA","ORDU","SAKARYA","SAMSUN","ŞANLIURFA","TEKİRDAĞ","TRABZON","VAN"];
Github'da bulunan il-ilce.json dosyasında büyükşehir olmayan illerin "Merkez" ilçeleri listede olmadığı için şu koda ihtiyacım olmuştu;
var buyuksehirler = ["ADANA","ANKARA","ANTALYA","AYDIN","BALIKESİR","BURSA","DENİZLİ","DİYARBAKIR","ERZURUM","ESKİŞEHİR","GAZİANTEP","HATAY","İSTANBUL","İZMİR","KAHRAMANMARAŞ","KAYSERİ","KOCAELİ","KONYA","MALATYA","MANİSA","MARDİN","MERSİN","MUĞLA","ORDU","SAKARYA","SAMSUN","ŞANLIURFA","TEKİRDAĞ","TRABZON","VAN"]; if(jQuery.inArray(il, buyuksehirler)==-1){ var row=""; row +='<option value="MERKEZ">MERKEZ</option>'; $("#ilce").append(row); }
"il" değerinin büyükşehir olup olmadığını kontrol eder. Değil ise "#ilce" selectbox'una merkez ilçeyi ekler.

@enessafi

This comment has been minimized.

Copy link

@enessafi enessafi commented Feb 7, 2019

Ben de C# için enum haline getirdim hem alfabetik hem plakaya göre.

public enum Cities { Adana = 1, Adiyaman = 2, Afyonkarahisar = 3, Agri = 4, Aksaray = 5, Amasya = 6, Ankara = 7, Antalya = 8, Ardahan = 9, Artvin = 10, Aydin = 11, Balikesir = 12, Bartin = 13, Batman = 14, Bayburt = 15, Bilecik = 16, Bingol = 17, Bitlis = 18, Bolu = 19, Burdur = 20, Bursa = 21, Canakkale = 22, Cankiri = 23, Corum = 24, Denizli = 25, Diyarbakir = 26, Duzce = 27, Edirne = 28, Elazig = 29, Erzincan = 30, Erzurum = 31, Eskisehir = 32, Gaziantep = 33, Giresun = 34, Gumushane = 35, Hakkâri = 36, Hatay = 37, Igdir = 38, Isparta = 39, Istanbul = 40, Izmir = 41, Kahramanmaras = 42, Karabuk = 43, Karaman = 44, Kars = 45, Kastamonu = 46, Kayseri = 47, Kirikkale = 48, Kirklareli = 49, Kirsehir = 50, Kilis = 51, Kocaeli = 52, Konya = 53, Kutahya = 54, Malatya = 55, Manisa = 56, Mardin = 57, Mersin = 58, Mugla = 59, Mus = 60, Nevsehir = 61, Nigde = 62, Ordu = 63, Osmaniye = 64, Rize = 65, Sakarya = 66, Samsun = 67, Siirt = 68, Sinop = 69, Sivas = 70, Sanliurfa = 71, Sirnak = 72, Tekirdag = 73, Tokat = 74, Trabzon = 75, Tunceli = 76, Usak = 77, Van = 78, Yalova = 79, Yozgat = 80, Zonguldak = 81 }

public enum CitiesOrderByPlateCode { Adana = 1, Adiyaman = 2, Afyonkarahisar = 3, Agri = 4, Amasya = 5, Ankara = 6, Antalya = 7, Artvin = 8, Aydin = 9, Balikesir = 10, Bilecik = 11, Bingol = 12, Bitlis = 13, Bolu = 14, Burdur = 15, Bursa = 16, Canakkale = 17, Cankiri = 18, Corum = 19, Denizli = 20, Diyarbakir = 21, Edirne = 22, Elazig = 23, Erzincan = 24, Erzurum = 25, Eskisehir = 26, Gaziantep = 27, Giresun = 28, Gumushane = 29, Hakkâri = 30, Hatay = 31, Isparta = 32, Mersin = 33, Istanbul = 34, Izmir = 35, Kars = 36, Kastamonu = 37, Kayseri = 38, Kirklareli = 39, Kirsehir = 40, Kocaeli = 41, Konya = 42, Kutahya = 43, Malatya = 44, Manisa = 45, Kahramanmaras = 46, Mardin = 47, Mugla = 48, Mus = 49, Nevsehir = 50, Nigde = 51, Ordu = 52, Rize = 53, Sakarya = 54, Samsun = 55, Siirt = 56, Sinop = 57, Sivas = 58, Tekirdag = 59, Tokat = 60, Trabzon = 61, Tunceli = 62, Sanliurfa = 63, Usak = 64, Van = 65, Yozgat = 66, Zonguldak = 67, Aksaray = 68, Bayburt = 69, Karaman = 70, Kirikkale = 71, Batman = 72, Sirnak = 73, Bartin = 74, Ardahan = 75, Igdir = 76, Yalova = 77, Karabuk = 78, Kilis = 79, Osmaniye = 80, Duzce = 81 }

@Ayberkone

This comment has been minimized.

Copy link

@Ayberkone Ayberkone commented Feb 27, 2019

Ne delikanlı adamlarsınız

@rkytie

This comment has been minimized.

Copy link

@rkytie rkytie commented Mar 24, 2019

Çok teşekkürler, büyük bi yükten kurtuldum

@ayberkcal

This comment has been minimized.

Copy link

@ayberkcal ayberkcal commented May 4, 2019

ARO beyler

@mervecayci

This comment has been minimized.

Copy link

@mervecayci mervecayci commented May 12, 2019

helal be

@mevsungur

This comment has been minimized.

Copy link

@mevsungur mevsungur commented Aug 5, 2019

Bu da javascript-typescript array.

iller:string[] = ['','Adana', 'Adıyaman', 'Afyon', 'Ağrı', 'Amasya', 'Ankara', 'Antalya', 'Artvin',
'Aydın', 'Balıkesir', 'Bilecik', 'Bingöl', 'Bitlis', 'Bolu', 'Burdur', 'Bursa', 'Çanakkale',
'Çankırı', 'Çorum', 'Denizli', 'Diyarbakır', 'Edirne', 'Elazığ', 'Erzincan', 'Erzurum', 'Eskişehir',
'Gaziantep', 'Giresun', 'Gümüşhane', 'Hakkari', 'Hatay', 'Isparta', 'Mersin', 'İstanbul', 'İzmir',
'Kars', 'Kastamonu', 'Kayseri', 'Kırklareli', 'Kırşehir', 'Kocaeli', 'Konya', 'Kütahya', 'Malatya',
'Manisa', 'Kahramanmaraş', 'Mardin', 'Muğla', 'Muş', 'Nevşehir', 'Niğde', 'Ordu', 'Rize', 'Sakarya',
'Samsun', 'Siirt', 'Sinop', 'Sivas', 'Tekirdağ', 'Tokat', 'Trabzon', 'Tunceli', 'Şanlıurfa', 'Uşak',
'Van', 'Yozgat', 'Zonguldak', 'Aksaray', 'Bayburt', 'Karaman', 'Kırıkkale', 'Batman', 'Şırnak',
'Bartın', 'Ardahan', 'Iğdır', 'Yalova', 'Karabük', 'Kilis', 'Osmaniye', 'Düzce'];

@sckn

This comment has been minimized.

Copy link

@sckn sckn commented Aug 22, 2019

Flask-WTForm Turkish City List
cities= SelectField( 'Şehirler', [validators.DataRequired()], choices=[("istanbul","İstanbul"), ("ankara","Ankara"), ("izmir","İzmir"), ("adana","Adana"), ("adiyaman","Adıyaman"), ("afyon","Afyon"), ("agri","Ağrı"), ("aksaray","Aksaray"), ("amasya","Amasya"), ("antalya","Antalya"), ("ardahan","Ardahan"), ("artvin","Artvin"), ("aydin","Aydın"), ("balikesir","Balıkesir"), ("bartin","Bartın"), ("batman","Batman"), ("bayburt","Bayburt"), ("bilecik","Bilecik"), ("bingol","Bingöl"), ("bitlis","Bitlis"), ("bolu","Bolu"), ("burdur","Burdur"), ("bursa","Bursa"), ("canakkale","Çanakkale"), ("cankiri","Çankırı"), ("corum","Çorum"), ("denizli","Denizli"), ("diyarbakir","Diyarbakır"), ("duzce","Düzce"), ("edirne","Edirne"), ("elazig","Elazığ"), ("erzincan","Erzincan"), ("erzurum","Erzurum"), ("eskisehir","Eskişehir"), ("gaziantep","Gaziantep"), ("giresun","Giresun"), ("gumushane","Gümüşhane"), ("hakkari","Hakkari"), ("hatay","Hatay"), ("igdir","Iğdır"), ("isparta","Isparta"), ("kahramanmaras","Kahramanmaraş"), ("karabuk","Karabük"), ("karaman","Karaman"), ("kars","Kars"), ("kastamonu","Kastamonu"), ("kayseri","Kayseri"), ("kilis","Kilis"), ("kirikkale","Kırıkkale"), ("kirklareli","Kırklareli"), ("kirsehir","Kırşehir"), ("kocaeli","Kocaeli"), ("konya","Konya"), ("kutahya","Kütahya"), ("malatya","Malatya"), ("manisa","Manisa"), ("mardin","Mardin"), ("mersin","Mersin"), ("mugla","Muğla"), ("mus","Muş"), ("nevsehir","Nevşehir"), ("nigde","Niğde"), ("ordu","Ordu"), ("osmaniye","Osmaniye"), ("rize","Rize"), ("sakarya","Sakarya"), ("samsun","Samsun"), ("sanliurfa","Şanlıurfa"), ("siirt","Siirt"), ("sinop","Sinop"), ("sirnak","Şırnak"), ("sivas","Sivas"), ("tekirdag","Tekirdağ"), ("tokat","Tokat"), ("trabzon","Trabzon"), ("tunceli","Tunceli"), ("usak","Uşak"), ("van","Van"), ("yalova","Yalova"), ("yozgat","Yozgat"), ("zonguldak","Zonguldak ")] )

@FGuzel

This comment has been minimized.

Copy link

@FGuzel FGuzel commented Oct 2, 2019

Nasıl mutlu oldum şu an anlatamam. Şöyle bir angaryaya vakit harcamadığım için çok mutluyum şu an :)
Herkesin ellerine sağlık.

@OFK0

This comment has been minimized.

Copy link

@OFK0 OFK0 commented Dec 9, 2019

Ne tatlı insanlarsınız yav...

@FlySquare

This comment has been minimized.

Copy link

@FlySquare FlySquare commented Dec 24, 2019

Lazım olursa değerleride şehir ismi olarak düzenlemeside benden;

		<select name="il" style="width:150px">
         <option value="">İl Seçiniz</option>
<option value="İstanbul">İstanbul</option>
<option value="Ankara">Ankara</option>
<option value="İzmir">İzmir</option>
<option value="Adana">Adana</option>
<option value="Adıyaman">Adıyaman</option>
<option value="Afyonkarahisar">Afyonkarahisar</option>
<option value="Ağrı">Ağrı</option>
<option value="Aksaray">Aksaray</option>
<option value="Amasya">Amasya</option>
<option value="Antalya">Antalya</option>
<option value="Ardahan">Ardahan</option>
<option value="Artvin">Artvin</option>
<option value="Aydın">Aydın</option>
<option value="Balıkesir">Balıkesir</option>
<option value="Bartın">Bartın</option>
<option value="Batman">Batman</option>
<option value="Bayburt">Bayburt</option>
<option value="Bilecik">Bilecik</option>
<option value="Bingöl">Bingöl</option>
<option value="Bitlis">Bitlis</option>
<option value="Bolu">Bolu</option>
<option value="Burdur">Burdur</option>
<option value="Bursa">Bursa</option>
<option value="Çanakkale">Çanakkale</option>
<option value="Çankırı">Çankırı</option>
<option value="Çorum">Çorum</option>
<option value="Denizli">Denizli</option>
<option value="Diyarbakır">Diyarbakır</option>
<option value="Düzce">Düzce</option>
<option value="Edirne">Edirne</option>
<option value="Elazığ">Elazığ</option>
<option value="Erzincan">Erzincan</option>
<option value="Erzurum">Erzurum</option>
<option value="Eskişehir">Eskişehir</option>
<option value="Gaziantep">Gaziantep</option>
<option value="Giresun">Giresun</option>
<option value="Gümüşhane">Gümüşhane</option>
<option value="Hakkâri">Hakkâri</option>
<option value="Hatay">Hatay</option>
<option value="Iğdır">Iğdır</option>
<option value="Isparta">Isparta</option>
<option value="Kahramanmaraş">Kahramanmaraş</option>
<option value="Karabük">Karabük</option>
<option value="Karaman">Karaman</option>
<option value="Kars">Kars</option>
<option value="Kastamonu">Kastamonu</option>
<option value="Kayseri">Kayseri</option>
<option value="Kırıkkale">Kırıkkale</option>
<option value="Kırklareli">Kırklareli</option>
<option value="Kırşehir">Kırşehir</option>
<option value="Kilis">Kilis</option>
<option value="Kocaeli">Kocaeli</option>
<option value="Konya">Konya</option>
<option value="Kütahya">Kütahya</option>
<option value="Malatya">Malatya</option>
<option value="Manisa">Manisa</option>
<option value="Mardin">Mardin</option>
<option value="Mersin">Mersin</option>
<option value="Muğla">Muğla</option>
<option value="Muş">Muş</option>
<option value="Nevşehir">Nevşehir</option>
<option value="Niğde">Niğde</option>
<option value="Ordu">Ordu</option>
<option value="Osmaniye">Osmaniye</option>
<option value="Rize">Rize</option>
<option value="Sakarya">Sakarya</option>
<option value="Samsun">Samsun</option>
<option value="Siirt">Siirt</option>
<option value="Sinop">Sinop</option>
<option value="Sivas">Sivas</option>
<option value="Şırnak">Şırnak</option>
<option value="Tekirdağ">Tekirdağ</option>
<option value="Tokat">Tokat</option>
<option value="Trabzon">Trabzon</option>
<option value="Tunceli">Tunceli</option>
<option value="Şanlıurfa">Şanlıurfa</option>
<option value="Uşak">Uşak</option>
<option value="Van">Van</option>
<option value="Yalova">Yalova</option>
<option value="Yozgat">Yozgat</option>
<option value="Zonguldak">Zonguldak</option>

10 dakika uğraştıktan sonra yorumunuzu görmem 3 dakikalık hayatı sorgulattı

@osmankorucu

This comment has been minimized.

Copy link

@osmankorucu osmankorucu commented Dec 27, 2019

Lazım olursa diye JSF PrimeFaces selectOneMenu formatı da benden:

<p:selectOneMenu id="sehirler" > <f:selectItem itemValue="0" itemLabel="Seçiniz" /> <f:selectItem itemValue="1" itemLabel="Adana" /> <f:selectItem itemValue="2" itemLabel="Adıyaman" /> <f:selectItem itemValue="3" itemLabel="Afyonkarahisar" /> <f:selectItem itemValue="4" itemLabel="Ağrı" /> <f:selectItem itemValue="5" itemLabel="Amasya" /> <f:selectItem itemValue="6" itemLabel="Ankara" /> <f:selectItem itemValue="7" itemLabel="Antalya" /> <f:selectItem itemValue="8" itemLabel="Artvin" /> <f:selectItem itemValue="9" itemLabel="Aydın" /> <f:selectItem itemValue="10" itemLabel="Balıkesir" /> <f:selectItem itemValue="11" itemLabel="Bilecik" /> <f:selectItem itemValue="12" itemLabel="Bingöl" /> <f:selectItem itemValue="13" itemLabel="Bitlis" /> <f:selectItem itemValue="14" itemLabel="Bolu" /> <f:selectItem itemValue="15" itemLabel="Burdur" /> <f:selectItem itemValue="16" itemLabel="Bursa" /> <f:selectItem itemValue="17" itemLabel="Çanakkale" /> <f:selectItem itemValue="18" itemLabel="Çankırı" /> <f:selectItem itemValue="19" itemLabel="Çorum" /> <f:selectItem itemValue="20" itemLabel="Denizli" /> <f:selectItem itemValue="21" itemLabel="Diyarbakır" /> <f:selectItem itemValue="22" itemLabel="Edirne" /> <f:selectItem itemValue="23" itemLabel="Elazığ" /> <f:selectItem itemValue="24" itemLabel="Erzincan" /> <f:selectItem itemValue="25" itemLabel="Erzurum" /> <f:selectItem itemValue="26" itemLabel="Eskişehir" /> <f:selectItem itemValue="27" itemLabel="Gaziantep" /> <f:selectItem itemValue="28" itemLabel="Giresun" /> <f:selectItem itemValue="29" itemLabel="Gümüşhane" /> <f:selectItem itemValue="30" itemLabel="Hakkâri" /> <f:selectItem itemValue="31" itemLabel="Hatay" /> <f:selectItem itemValue="32" itemLabel="Isparta" /> <f:selectItem itemValue="33" itemLabel="Mersin" /> <f:selectItem itemValue="34" itemLabel="İstanbul" /> <f:selectItem itemValue="35" itemLabel="İzmir" /> <f:selectItem itemValue="36" itemLabel="Kars" /> <f:selectItem itemValue="37" itemLabel="Kastamonu" /> <f:selectItem itemValue="38" itemLabel="Kayseri" /> <f:selectItem itemValue="39" itemLabel="Kırklareli" /> <f:selectItem itemValue="40" itemLabel="Kırşehir" /> <f:selectItem itemValue="41" itemLabel="Kocaeli" /> <f:selectItem itemValue="42" itemLabel="Konya" /> <f:selectItem itemValue="43" itemLabel="Kütahya" /> <f:selectItem itemValue="44" itemLabel="Malatya" /> <f:selectItem itemValue="45" itemLabel="Manisa" /> <f:selectItem itemValue="46" itemLabel="Kahramanmaraş" /> <f:selectItem itemValue="47" itemLabel="Mardin" /> <f:selectItem itemValue="48" itemLabel="Muğla" /> <f:selectItem itemValue="49" itemLabel="Muş" /> <f:selectItem itemValue="50" itemLabel="Nevşehir" /> <f:selectItem itemValue="51" itemLabel="Niğde" /> <f:selectItem itemValue="52" itemLabel="Ordu" /> <f:selectItem itemValue="53" itemLabel="Rize" /> <f:selectItem itemValue="54" itemLabel="Sakarya" /> <f:selectItem itemValue="55" itemLabel="Samsun" /> <f:selectItem itemValue="56" itemLabel="Siirt" /> <f:selectItem itemValue="57" itemLabel="Sinop" /> <f:selectItem itemValue="58" itemLabel="Sivas" /> <f:selectItem itemValue="59" itemLabel="Tekirdağ" /> <f:selectItem itemValue="60" itemLabel="Tokat" /> <f:selectItem itemValue="61" itemLabel="Trabzon" /> <f:selectItem itemValue="62" itemLabel="Tunceli" /> <f:selectItem itemValue="63" itemLabel="Şanlıurfa" /> <f:selectItem itemValue="64" itemLabel="Uşak" /> <f:selectItem itemValue="65" itemLabel="Van" /> <f:selectItem itemValue="66" itemLabel="Yozgat" /> <f:selectItem itemValue="67" itemLabel="Zonguldak" /> <f:selectItem itemValue="68" itemLabel="Aksaray" /> <f:selectItem itemValue="69" itemLabel="Bayburt" /> <f:selectItem itemValue="70" itemLabel="Karaman" /> <f:selectItem itemValue="71" itemLabel="Kırıkkale" /> <f:selectItem itemValue="72" itemLabel="Batman" /> <f:selectItem itemValue="73" itemLabel="Şırnak" /> <f:selectItem itemValue="74" itemLabel="Bartın" /> <f:selectItem itemValue="75" itemLabel="Ardahan" /> <f:selectItem itemValue="76" itemLabel="Iğdır" /> <f:selectItem itemValue="77" itemLabel="Yalova" /> <f:selectItem itemValue="78" itemLabel="Karabük" /> <f:selectItem itemValue="79" itemLabel="Kilis" /> <f:selectItem itemValue="80" itemLabel="Osmaniye" /> <f:selectItem itemValue="81" itemLabel="Düzce" /> <f:facet name="footer"> <p:separator /> <p:outputLabel value="3 consoles" style="font-weight:bold;" /> </f:facet> </p:selectOneMenu>

@h202016

This comment has been minimized.

Copy link

@h202016 h202016 commented Jan 7, 2020

Arkadaşlar JavaScript le il seçiniz ilçe seçiniz nasıl oluşturulur, yardım eder misiniz lütfen acil!!

@hsyntkn30

This comment has been minimized.

Copy link

@hsyntkn30 hsyntkn30 commented Feb 5, 2020

Lütfen Bir İl Seçiniz Lütfen Önce bir İl seçiniz var data = [ { "il": "Adana", "plaka": 1, "ilceleri": [ "Aladağ", "Ceyhan", "Çukurova", "Feke", "İmamoğlu", "Karaisalı", "Karataş", "Kozan", "Pozantı", "Saimbeyli", "Sarıçam", "Seyhan", "Tufanbeyli", "Yumurtalık", "Yüreğir" ] }, { "il": "Adıyaman", "plaka": 2, "ilceleri": [ "Besni", "Çelikhan", "Gerger", "Gölbaşı", "Kahta", "Merkez", "Samsat", "Sincik", "Tut" ] }, { "il": "Afyonkarahisar", "plaka": 3, "ilceleri": [ "Başmakçı", "Bayat", "Bolvadin", "Çay", "Çobanlar", "Dazkırı", "Dinar", "Emirdağ", "Evciler", "Hocalar", "İhsaniye", "İscehisar", "Kızılören", "Merkez", "Sandıklı", "Sinanpaşa", "Sultandağı", "Şuhut" ] }, { "il": "Ağrı", "plaka": 4, "ilceleri": [ "Diyadin", "Doğubayazıt", "Eleşkirt", "Hamur", "Merkez", "Patnos", "Taşlıçay", "Tutak" ] }, { "il": "Amasya", "plaka": 5, "ilceleri": [ "Göynücek", "Gümüşhacıköy", "Hamamözü", "Merkez", "Merzifon", "Suluova", "Taşova" ] }, { "il": "Ankara", "plaka": 6, "ilceleri": [ "Altındağ", "Ayaş", "Bala", "Beypazarı", "Çamlıdere", "Çankaya", "Çubuk", "Elmadağ", "Güdül", "Haymana", "Kalecik", "Kızılcahamam", "Nallıhan", "Polatlı", "Şereflikoçhisar", "Yenimahalle", "Gölbaşı", "Keçiören", "Mamak", "Sincan", "Kazan", "Akyurt", "Etimesgut", "Evren", "Pursaklar" ] }, { "il": "Antalya", "plaka": 7, "ilceleri": [ "Akseki", "Alanya", "Elmalı", "Finike", "Gazipaşa", "Gündoğmuş", "Kaş", "Korkuteli", "Kumluca", "Manavgat", "Serik", "Demre", "İbradı", "Kemer", "Aksu", "Döşemealtı", "Kepez", "Konyaaltı", "Muratpaşa" ] }, { "il": "Artvin", "plaka": 8, "ilceleri": [ "Ardanuç", "Arhavi", "Merkez", "Borçka", "Hopa", "Şavşat", "Yusufeli", "Murgul" ] }, { "il": "Aydın", "plaka": 9, "ilceleri": [ "Merkez", "Bozdoğan", "Efeler", "Çine", "Germencik", "Karacasu", "Koçarlı", "Kuşadası", "Kuyucak", "Nazilli", "Söke", "Sultanhisar", "Yenipazar", "Buharkent", "İncirliova", "Karpuzlu", "Köşk", "Didim" ] }, { "il": "Balıkesir", "plaka": 10, "ilceleri": [ "Altıeylül", "Ayvalık", "Merkez", "Balya", "Bandırma", "Bigadiç", "Burhaniye", "Dursunbey", "Edremit", "Erdek", "Gönen", "Havran", "İvrindi", "Karesi", "Kepsut", "Manyas", "Savaştepe", "Sındırgı", "Gömeç", "Susurluk", "Marmara" ] }, { "il": "Bilecik", "plaka": 11, "ilceleri": [ "Merkez", "Bozüyük", "Gölpazarı", "Osmaneli", "Pazaryeri", "Söğüt", "Yenipazar", "İnhisar" ] }, { "il": "Bingöl", "plaka": 12, "ilceleri": [ "Merkez", "Genç", "Karlıova", "Kiğı", "Solhan", "Adaklı", "Yayladere", "Yedisu" ] }, { "il": "Bitlis", "plaka": 13, "ilceleri": [ "Adilcevaz", "Ahlat", "Merkez", "Hizan", "Mutki", "Tatvan", "Güroymak" ] }, { "il": "Bolu", "plaka": 14, "ilceleri": [ "Merkez", "Gerede", "Göynük", "Kıbrıscık", "Mengen", "Mudurnu", "Seben", "Dörtdivan", "Yeniçağa" ] }, { "il": "Burdur", "plaka": 15, "ilceleri": [ "Ağlasun", "Bucak", "Merkez", "Gölhisar", "Tefenni", "Yeşilova", "Karamanlı", "Kemer", "Altınyayla", "Çavdır", "Çeltikçi" ] }, { "il": "Bursa", "plaka": 16, "ilceleri": [ "Gemlik", "İnegöl", "İznik", "Karacabey", "Keles", "Mudanya", "Mustafakemalpaşa", "Orhaneli", "Orhangazi", "Yenişehir", "Büyükorhan", "Harmancık", "Nilüfer", "Osmangazi", "Yıldırım", "Gürsu", "Kestel" ] }, { "il": "Çanakkale", "plaka": 17, "ilceleri": [ "Ayvacık", "Bayramiç", "Biga", "Bozcaada", "Çan", "Merkez", "Eceabat", "Ezine", "Gelibolu", "Gökçeada", "Lapseki", "Yenice" ] }, { "il": "Çankırı", "plaka": 18, "ilceleri": [ "Merkez", "Çerkeş", "Eldivan", "Ilgaz", "Kurşunlu", "Orta", "Şabanözü", "Yapraklı", "Atkaracalar", "Kızılırmak", "Bayramören", "Korgun" ] }, { "il": "Çorum", "plaka": 19, "ilceleri": [ "Alaca", "Bayat", "Merkez", "İskilip", "Kargı", "Mecitözü", "Ortaköy", "Osmancık", "Sungurlu", "Boğazkale", "Uğurludağ", "Dodurga", "Laçin", "Oğuzlar" ] }, { "il": "Denizli", "plaka": 20, "ilceleri": [ "Acıpayam", "Buldan", "Çal", "Çameli", "Çardak", "Çivril", "Merkez", "Merkezefendi", "Pamukkale", "Güney", "Kale", "Sarayköy", "Tavas", "Babadağ", "Bekilli", "Honaz", "Serinhisar", "Baklan", "Beyağaç", "Bozkurt" ] }, { "il": "Diyarbakır", "plaka": 21, "ilceleri": [ "Kocaköy", "Çermik", "Çınar", "Çüngüş", "Dicle", "Ergani", "Hani", "Hazro", "Kulp", "Lice", "Silvan", "Eğil", "Bağlar", "Kayapınar", "Sur", "Yenişehir", "Bismil" ] }, { "il": "Edirne", "plaka": 22, "ilceleri": [ "Merkez", "Enez", "Havsa", "İpsala", "Keşan", "Lalapaşa", "Meriç", "Uzunköprü", "Süloğlu" ] }, { "il": "Elazığ", "plaka": 23, "ilceleri": [ "Ağın", "Baskil", "Merkez", "Karakoçan", "Keban", "Maden", "Palu", "Sivrice", "Arıcak", "Kovancılar", "Alacakaya" ] }, { "il": "Erzincan", "plaka": 24, "ilceleri": [ "Çayırlı", "Merkez", "İliç", "Kemah", "Kemaliye", "Refahiye", "Tercan", "Üzümlü", "Otlukbeli" ] }, { "il": "Erzurum", "plaka": 25, "ilceleri": [ "Aşkale", "Çat", "Hınıs", "Horasan", "İspir", "Karayazı", "Narman", "Oltu", "Olur", "Pasinler", "Şenkaya", "Tekman", "Tortum", "Karaçoban", "Uzundere", "Pazaryolu", "Köprüköy", "Palandöken", "Yakutiye", "Aziziye" ] }, { "il": "Eskişehir", "plaka": 26, "ilceleri": [ "Çifteler", "Mahmudiye", "Mihalıççık", "Sarıcakaya", "Seyitgazi", "Sivrihisar", "Alpu", "Beylikova", "İnönü", "Günyüzü", "Han", "Mihalgazi", "Odunpazarı", "Tepebaşı" ] }, { "il": "Gaziantep", "plaka": 27, "ilceleri": [ "Araban", "İslahiye", "Nizip", "Oğuzeli", "Yavuzeli", "Şahinbey", "Şehitkamil", "Karkamış", "Nurdağı" ] }, { "il": "Giresun", "plaka": 28, "ilceleri": [ "Alucra", "Bulancak", "Dereli", "Espiye", "Eynesil", "Merkez", "Görele", "Keşap", "Şebinkarahisar", "Tirebolu", "Piraziz", "Yağlıdere", "Çamoluk", "Çanakçı", "Doğankent", "Güce" ] }, { "il": "Gümüşhane", "plaka": 29, "ilceleri": [ "Merkez", "Kelkit", "Şiran", "Torul", "Köse", "Kürtün" ] }, { "il": "Hakkari", "plaka": 30, "ilceleri": [ "Çukurca", "Merkez", "Şemdinli", "Yüksekova" ] }, { "il": "Hatay", "plaka": 31, "ilceleri": [ "Altınözü", "Arsuz", "Defne", "Dörtyol", "Hassa", "Antakya", "İskenderun", "Kırıkhan", "Payas", "Reyhanlı", "Samandağ", "Yayladağı", "Erzin", "Belen", "Kumlu" ] }, { "il": "Isparta", "plaka": 32, "ilceleri": [ "Atabey", "Eğirdir", "Gelendost", "Merkez", "Keçiborlu", "Senirkent", "Sütçüler", "Şarkikaraağaç", "Uluborlu", "Yalvaç", "Aksu", "Gönen", "Yenişarbademli" ] }, { "il": "Mersin", "plaka": 33, "ilceleri": [ "Anamur", "Erdemli", "Gülnar", "Mut", "Silifke", "Tarsus", "Aydıncık", "Bozyazı", "Çamlıyayla", "Akdeniz", "Mezitli", "Toroslar", "Yenişehir" ] }, { "il": "İstanbul", "plaka": 34, "ilceleri": [ "Adalar", "Bakırköy", "Beşiktaş", "Beykoz", "Beyoğlu", "Çatalca", "Eyüp", "Fatih", "Gaziosmanpaşa", "Kadıköy", "Kartal", "Sarıyer", "Silivri", "Şile", "Şişli", "Üsküdar", "Zeytinburnu", "Büyükçekmece", "Kağıthane", "Küçükçekmece", "Pendik", "Ümraniye", "Bayrampaşa", "Avcılar", "Bağcılar", "Bahçelievler", "Güngören", "Maltepe", "Sultanbeyli", "Tuzla", "Esenler", "Arnavutköy", "Ataşehir", "Başakşehir", "Beylikdüzü", "Çekmeköy", "Esenyurt", "Sancaktepe", "Sultangazi" ] }, { "il": "İzmir", "plaka": 35, "ilceleri": [ "Aliağa", "Bayındır", "Bergama", "Bornova", "Çeşme", "Dikili", "Foça", "Karaburun", "Karşıyaka", "Kemalpaşa", "Kınık", "Kiraz", "Menemen", "Ödemiş", "Seferihisar", "Selçuk", "Tire", "Torbalı", "Urla", "Beydağ", "Buca", "Konak", "Menderes", "Balçova", "Çiğli", "Gaziemir", "Narlıdere", "Güzelbahçe", "Bayraklı", "Karabağlar" ] }, { "il": "Kars", "plaka": 36, "ilceleri": [ "Arpaçay", "Digor", "Kağızman", "Merkez", "Sarıkamış", "Selim", "Susuz", "Akyaka" ] }, { "il": "Kastamonu", "plaka": 37, "ilceleri": [ "Abana", "Araç", "Azdavay", "Bozkurt", "Cide", "Çatalzeytin", "Daday", "Devrekani", "İnebolu", "Merkez", "Küre", "Taşköprü", "Tosya", "İhsangazi", "Pınarbaşı", "Şenpazar", "Ağlı", "Doğanyurt", "Hanönü", "Seydiler" ] }, { "il": "Kayseri", "plaka": 38, "ilceleri": [ "Bünyan", "Develi", "Felahiye", "İncesu", "Pınarbaşı", "Sarıoğlan", "Sarız", "Tomarza", "Yahyalı", "Yeşilhisar", "Akkışla", "Talas", "Kocasinan", "Melikgazi", "Hacılar", "Özvatan" ] }, { "il": "Kırklareli", "plaka": 39, "ilceleri": [ "Babaeski", "Demirköy", "Merkez", "Kofçaz", "Lüleburgaz", "Pehlivanköy", "Pınarhisar", "Vize" ] }, { "il": "Kırşehir", "plaka": 40, "ilceleri": [ "Çiçekdağı", "Kaman", "Merkez", "Mucur", "Akpınar", "Akçakent", "Boztepe" ] }, { "il": "Kocaeli", "plaka": 41, "ilceleri": [ "Gebze", "Gölcük", "Kandıra", "Karamürsel", "Körfez", "Derince", "Başiskele", "Çayırova", "Darıca", "Dilovası", "İzmit", "Kartepe" ] }, { "il": "Konya", "plaka": 42, "ilceleri": [ "Akşehir", "Beyşehir", "Bozkır", "Cihanbeyli", "Çumra", "Doğanhisar", "Ereğli", "Hadim", "Ilgın", "Kadınhanı", "Karapınar", "Kulu", "Sarayönü", "Seydişehir", "Yunak", "Akören", "Altınekin", "Derebucak", "Hüyük", "Karatay", "Meram", "Selçuklu", "Taşkent", "Ahırlı", "Çeltik", "Derbent", "Emirgazi", "Güneysınır", "Halkapınar", "Tuzlukçu", "Yalıhüyük" ] }, { "il": "Kütahya", "plaka": 43, "ilceleri": [ "Altıntaş", "Domaniç", "Emet", "Gediz", "Merkez", "Simav", "Tavşanlı", "Aslanapa", "Dumlupınar", "Hisarcık", "Şaphane", "Çavdarhisar", "Pazarlar" ] }, { "il": "Malatya", "plaka": 44, "ilceleri": [ "Akçadağ", "Arapgir", "Arguvan", "Darende", "Doğanşehir", "Hekimhan", "Merkez", "Pütürge", "Yeşilyurt", "Battalgazi", "Doğanyol", "Kale", "Kuluncak", "Yazıhan" ] }, { "il": "Manisa", "plaka": 45, "ilceleri": [ "Akhisar", "Alaşehir", "Demirci", "Gördes", "Kırkağaç", "Kula", "Merkez", "Salihli", "Sarıgöl", "Saruhanlı", "Selendi", "Soma", "Şehzadeler", "Yunusemre", "Turgutlu", "Ahmetli", "Gölmarmara", "Köprübaşı" ] }, { "il": "Kahramanmaraş", "plaka": 46, "ilceleri": [ "Afşin", "Andırın", "Dulkadiroğlu", "Onikişubat", "Elbistan", "Göksun", "Merkez", "Pazarcık", "Türkoğlu", "Çağlayancerit", "Ekinözü", "Nurhak" ] }, { "il": "Mardin", "plaka": 47, "ilceleri": [ "Derik", "Kızıltepe", "Artuklu", "Merkez", "Mazıdağı", "Midyat", "Nusaybin", "Ömerli", "Savur", "Dargeçit", "Yeşilli" ] }, { "il": "Muğla", "plaka": 48, "ilceleri": [ "Bodrum", "Datça", "Fethiye", "Köyceğiz", "Marmaris", "Menteşe", "Milas", "Ula", "Yatağan", "Dalaman", "Seydikemer", "Ortaca", "Kavaklıdere" ] }, { "il": "Muş", "plaka": 49, "ilceleri": [ "Bulanık", "Malazgirt", "Merkez", "Varto", "Hasköy", "Korkut" ] }, { "il": "Nevşehir", "plaka": 50, "ilceleri": [ "Avanos", "Derinkuyu", "Gülşehir", "Hacıbektaş", "Kozaklı", "Merkez", "Ürgüp", "Acıgöl" ] }, { "il": "Niğde", "plaka": 51, "ilceleri": [ "Bor", "Çamardı", "Merkez", "Ulukışla", "Altunhisar", "Çiftlik" ] }, { "il": "Ordu", "plaka": 52, "ilceleri": [ "Akkuş", "Altınordu", "Aybastı", "Fatsa", "Gölköy", "Korgan", "Kumru", "Mesudiye", "Perşembe", "Ulubey", "Ünye", "Gülyalı", "Gürgentepe", "Çamaş", "Çatalpınar", "Çaybaşı", "İkizce", "Kabadüz", "Kabataş" ] }, { "il": "Rize", "plaka": 53, "ilceleri": [ "Ardeşen", "Çamlıhemşin", "Çayeli", "Fındıklı", "İkizdere", "Kalkandere", "Pazar", "Merkez", "Güneysu", "Derepazarı", "Hemşin", "İyidere" ] }, { "il": "Sakarya", "plaka": 54, "ilceleri": [ "Akyazı", "Geyve", "Hendek", "Karasu", "Kaynarca", "Sapanca", "Kocaali", "Pamukova", "Taraklı", "Ferizli", "Karapürçek", "Söğütlü", "Adapazarı", "Arifiye", "Erenler", "Serdivan" ] }, { "il": "Samsun", "plaka": 55, "ilceleri": [ "Alaçam", "Bafra", "Çarşamba", "Havza", "Kavak", "Ladik", "Terme", "Vezirköprü", "Asarcık", "Ondokuzmayıs", "Salıpazarı", "Tekkeköy", "Ayvacık", "Yakakent", "Atakum", "Canik", "İlkadım" ] }, { "il": "Siirt", "plaka": 56, "ilceleri": [ "Baykan", "Eruh", "Kurtalan", "Pervari", "Merkez", "Şirvan", "Tillo" ] }, { "il": "Sinop", "plaka": 57, "ilceleri": [ "Ayancık", "Boyabat", "Durağan", "Erfelek", "Gerze", "Merkez", "Türkeli", "Dikmen", "Saraydüzü" ] }, { "il": "Sivas", "plaka": 58, "ilceleri": [ "Divriği", "Gemerek", "Gürün", "Hafik", "İmranlı", "Kangal", "Koyulhisar", "Merkez", "Suşehri", "Şarkışla", "Yıldızeli", "Zara", "Akıncılar", "Altınyayla", "Doğanşar", "Gölova", "Ulaş" ] }, { "il": "Tekirdağ", "plaka": 59, "ilceleri": [ "Çerkezköy", "Çorlu", "Ergene", "Hayrabolu", "Malkara", "Muratlı", "Saray", "Süleymanpaşa", "Kapaklı", "Şarköy", "Marmaraereğlisi" ] }, { "il": "Tokat", "plaka": 60, "ilceleri": [ "Almus", "Artova", "Erbaa", "Niksar", "Reşadiye", "Merkez", "Turhal", "Zile", "Pazar", "Yeşilyurt", "Başçiftlik", "Sulusaray" ] }, { "il": "Trabzon", "plaka": 61, "ilceleri": [ "Akçaabat", "Araklı", "Arsin", "Çaykara", "Maçka", "Of", "Ortahisar", "Sürmene", "Tonya", "Vakfıkebir", "Yomra", "Beşikdüzü", "Şalpazarı", "Çarşıbaşı", "Dernekpazarı", "Düzköy", "Hayrat", "Köprübaşı" ] }, { "il": "Tunceli", "plaka": 62, "ilceleri": [ "Çemişgezek", "Hozat", "Mazgirt", "Nazımiye", "Ovacık", "Pertek", "Pülümür", "Merkez" ] }, { "il": "Şanlıurfa", "plaka": 63, "ilceleri": [ "Akçakale", "Birecik", "Bozova", "Ceylanpınar", "Eyyübiye", "Halfeti", "Haliliye", "Hilvan", "Karaköprü", "Siverek", "Suruç", "Viranşehir", "Harran" ] }, { "il": "Uşak", "plaka": 64, "ilceleri": [ "Banaz", "Eşme", "Karahallı", "Sivaslı", "Ulubey", "Merkez" ] }, { "il": "Van", "plaka": 65, "ilceleri": [ "Başkale", "Çatak", "Erciş", "Gevaş", "Gürpınar", "İpekyolu", "Muradiye", "Özalp", "Tuşba", "Bahçesaray", "Çaldıran", "Edremit", "Saray" ] }, { "il": "Yozgat", "plaka": 66, "ilceleri": [ "Akdağmadeni", "Boğazlıyan", "Çayıralan", "Çekerek", "Sarıkaya", "Sorgun", "Şefaatli", "Yerköy", "Merkez", "Aydıncık", "Çandır", "Kadışehri", "Saraykent", "Yenifakılı" ] }, { "il": "Zonguldak", "plaka": 67, "ilceleri": [ "Çaycuma", "Devrek", "Ereğli", "Merkez", "Alaplı", "Gökçebey" ] }, { "il": "Aksaray", "plaka": 68, "ilceleri": [ "Ağaçören", "Eskil", "Gülağaç", "Güzelyurt", "Merkez", "Ortaköy", "Sarıyahşi" ] }, { "il": "Bayburt", "plaka": 69, "ilceleri": [ "Merkez", "Aydıntepe", "Demirözü" ] }, { "il": "Karaman", "plaka": 70, "ilceleri": [ "Ermenek", "Merkez", "Ayrancı", "Kazımkarabekir", "Başyayla", "Sarıveliler" ] }, { "il": "Kırıkkale", "plaka": 71, "ilceleri": [ "Delice", "Keskin", "Merkez", "Sulakyurt", "Bahşili", "Balışeyh", "Çelebi", "Karakeçili", "Yahşihan" ] }, { "il": "Batman", "plaka": 72, "ilceleri": [ "Merkez", "Beşiri", "Gercüş", "Kozluk", "Sason", "Hasankeyf" ] }, { "il": "Şırnak", "plaka": 73, "ilceleri": [ "Beytüşşebap", "Cizre", "İdil", "Silopi", "Merkez", "Uludere", "Güçlükonak" ] }, { "il": "Bartın", "plaka": 74, "ilceleri": [ "Merkez", "Kurucaşile", "Ulus", "Amasra" ] }, { "il": "Ardahan", "plaka": 75, "ilceleri": [ "Merkez", "Çıldır", "Göle", "Hanak", "Posof", "Damal" ] }, { "il": "Iğdır", "plaka": 76, "ilceleri": [ "Aralık", "Merkez", "Tuzluca", "Karakoyunlu" ] }, { "il": "Yalova", "plaka": 77, "ilceleri": [ "Merkez", "Altınova", "Armutlu", "Çınarcık", "Çiftlikköy", "Termal" ] }, { "il": "Karabük", "plaka": 78, "ilceleri": [ "Eflani", "Eskipazar", "Merkez", "Ovacık", "Safranbolu", "Yenice" ] }, { "il": "Kilis", "plaka": 79, "ilceleri": [ "Merkez", "Elbeyli", "Musabeyli", "Polateli" ] }, { "il": "Osmaniye", "plaka": 80, "ilceleri": [ "Bahçe", "Kadirli", "Merkez", "Düziçi", "Hasanbeyli", "Sumbas", "Toprakkale" ] }, { "il": "Düzce", "plaka": 81, "ilceleri": [ "Akçakoca", "Merkez", "Yığılca", "Cumayeri", "Gölyaka", "Çilimli", "Gümüşova", "Kaynaşlı" ] } ] function search(nameKey, myArray){ for (var i=0; i < myArray.length; i++) { if (myArray[i].plaka == nameKey) { return myArray[i]; } } } $( document ).ready(function() { $.each(data, function( index, value ) { $('#Iller').append($('', { value: value.plaka, text: value.il })); }); $("#Iller").change(function(){ var valueSelected = this.value; if($('#Iller').val() > 0) { $('#Ilceler').html(''); $('#Ilceler').append($('', { value: 0, text: 'Lütfen Bir İlçe seçiniz' })); $('#Ilceler').prop("disabled", false); var resultObject = search($('#Iller').val(), data); $.each(resultObject.ilceleri, function( index, value ) { $('#Ilceler').append($('', { value: value, text: value })); }); return false; } $('#Ilceler').prop("disabled", true); }); });

JavaScript il ilçe seçme kodu

@huseyintekn

This comment has been minimized.

Copy link

@huseyintekn huseyintekn commented Feb 5, 2020

Lütfen Bir İl Seçiniz Lütfen Önce bir İl seçiniz var data = [ { "il": "Adana", "plaka": 1, "ilceleri": [ "Aladağ", "Ceyhan", "Çukurova", "Feke", "İmamoğlu", "Karaisalı", "Karataş", "Kozan", "Pozantı", "Saimbeyli", "Sarıçam", "Seyhan", "Tufanbeyli", "Yumurtalık", "Yüreğir" ] }, { "il": "Adıyaman", "plaka": 2, "ilceleri": [ "Besni", "Çelikhan", "Gerger", "Gölbaşı", "Kahta", "Merkez", "Samsat", "Sincik", "Tut" ] }, { "il": "Afyonkarahisar", "plaka": 3, "ilceleri": [ "Başmakçı", "Bayat", "Bolvadin", "Çay", "Çobanlar", "Dazkırı", "Dinar", "Emirdağ", "Evciler", "Hocalar", "İhsaniye", "İscehisar", "Kızılören", "Merkez", "Sandıklı", "Sinanpaşa", "Sultandağı", "Şuhut" ] }, { "il": "Ağrı", "plaka": 4, "ilceleri": [ "Diyadin", "Doğubayazıt", "Eleşkirt", "Hamur", "Merkez", "Patnos", "Taşlıçay", "Tutak" ] }, { "il": "Amasya", "plaka": 5, "ilceleri": [ "Göynücek", "Gümüşhacıköy", "Hamamözü", "Merkez", "Merzifon", "Suluova", "Taşova" ] }, { "il": "Ankara", "plaka": 6, "ilceleri": [ "Altındağ", "Ayaş", "Bala", "Beypazarı", "Çamlıdere", "Çankaya", "Çubuk", "Elmadağ", "Güdül", "Haymana", "Kalecik", "Kızılcahamam", "Nallıhan", "Polatlı", "Şereflikoçhisar", "Yenimahalle", "Gölbaşı", "Keçiören", "Mamak", "Sincan", "Kazan", "Akyurt", "Etimesgut", "Evren", "Pursaklar" ] }, { "il": "Antalya", "plaka": 7, "ilceleri": [ "Akseki", "Alanya", "Elmalı", "Finike", "Gazipaşa", "Gündoğmuş", "Kaş", "Korkuteli", "Kumluca", "Manavgat", "Serik", "Demre", "İbradı", "Kemer", "Aksu", "Döşemealtı", "Kepez", "Konyaaltı", "Muratpaşa" ] }, { "il": "Artvin", "plaka": 8, "ilceleri": [ "Ardanuç", "Arhavi", "Merkez", "Borçka", "Hopa", "Şavşat", "Yusufeli", "Murgul" ] }, { "il": "Aydın", "plaka": 9, "ilceleri": [ "Merkez", "Bozdoğan", "Efeler", "Çine", "Germencik", "Karacasu", "Koçarlı", "Kuşadası", "Kuyucak", "Nazilli", "Söke", "Sultanhisar", "Yenipazar", "Buharkent", "İncirliova", "Karpuzlu", "Köşk", "Didim" ] }, { "il": "Balıkesir", "plaka": 10, "ilceleri": [ "Altıeylül", "Ayvalık", "Merkez", "Balya", "Bandırma", "Bigadiç", "Burhaniye", "Dursunbey", "Edremit", "Erdek", "Gönen", "Havran", "İvrindi", "Karesi", "Kepsut", "Manyas", "Savaştepe", "Sındırgı", "Gömeç", "Susurluk", "Marmara" ] }, { "il": "Bilecik", "plaka": 11, "ilceleri": [ "Merkez", "Bozüyük", "Gölpazarı", "Osmaneli", "Pazaryeri", "Söğüt", "Yenipazar", "İnhisar" ] }, { "il": "Bingöl", "plaka": 12, "ilceleri": [ "Merkez", "Genç", "Karlıova", "Kiğı", "Solhan", "Adaklı", "Yayladere", "Yedisu" ] }, { "il": "Bitlis", "plaka": 13, "ilceleri": [ "Adilcevaz", "Ahlat", "Merkez", "Hizan", "Mutki", "Tatvan", "Güroymak" ] }, { "il": "Bolu", "plaka": 14, "ilceleri": [ "Merkez", "Gerede", "Göynük", "Kıbrıscık", "Mengen", "Mudurnu", "Seben", "Dörtdivan", "Yeniçağa" ] }, { "il": "Burdur", "plaka": 15, "ilceleri": [ "Ağlasun", "Bucak", "Merkez", "Gölhisar", "Tefenni", "Yeşilova", "Karamanlı", "Kemer", "Altınyayla", "Çavdır", "Çeltikçi" ] }, { "il": "Bursa", "plaka": 16, "ilceleri": [ "Gemlik", "İnegöl", "İznik", "Karacabey", "Keles", "Mudanya", "Mustafakemalpaşa", "Orhaneli", "Orhangazi", "Yenişehir", "Büyükorhan", "Harmancık", "Nilüfer", "Osmangazi", "Yıldırım", "Gürsu", "Kestel" ] }, { "il": "Çanakkale", "plaka": 17, "ilceleri": [ "Ayvacık", "Bayramiç", "Biga", "Bozcaada", "Çan", "Merkez", "Eceabat", "Ezine", "Gelibolu", "Gökçeada", "Lapseki", "Yenice" ] }, { "il": "Çankırı", "plaka": 18, "ilceleri": [ "Merkez", "Çerkeş", "Eldivan", "Ilgaz", "Kurşunlu", "Orta", "Şabanözü", "Yapraklı", "Atkaracalar", "Kızılırmak", "Bayramören", "Korgun" ] }, { "il": "Çorum", "plaka": 19, "ilceleri": [ "Alaca", "Bayat", "Merkez", "İskilip", "Kargı", "Mecitözü", "Ortaköy", "Osmancık", "Sungurlu", "Boğazkale", "Uğurludağ", "Dodurga", "Laçin", "Oğuzlar" ] }, { "il": "Denizli", "plaka": 20, "ilceleri": [ "Acıpayam", "Buldan", "Çal", "Çameli", "Çardak", "Çivril", "Merkez", "Merkezefendi", "Pamukkale", "Güney", "Kale", "Sarayköy", "Tavas", "Babadağ", "Bekilli", "Honaz", "Serinhisar", "Baklan", "Beyağaç", "Bozkurt" ] }, { "il": "Diyarbakır", "plaka": 21, "ilceleri": [ "Kocaköy", "Çermik", "Çınar", "Çüngüş", "Dicle", "Ergani", "Hani", "Hazro", "Kulp", "Lice", "Silvan", "Eğil", "Bağlar", "Kayapınar", "Sur", "Yenişehir", "Bismil" ] }, { "il": "Edirne", "plaka": 22, "ilceleri": [ "Merkez", "Enez", "Havsa", "İpsala", "Keşan", "Lalapaşa", "Meriç", "Uzunköprü", "Süloğlu" ] }, { "il": "Elazığ", "plaka": 23, "ilceleri": [ "Ağın", "Baskil", "Merkez", "Karakoçan", "Keban", "Maden", "Palu", "Sivrice", "Arıcak", "Kovancılar", "Alacakaya" ] }, { "il": "Erzincan", "plaka": 24, "ilceleri": [ "Çayırlı", "Merkez", "İliç", "Kemah", "Kemaliye", "Refahiye", "Tercan", "Üzümlü", "Otlukbeli" ] }, { "il": "Erzurum", "plaka": 25, "ilceleri": [ "Aşkale", "Çat", "Hınıs", "Horasan", "İspir", "Karayazı", "Narman", "Oltu", "Olur", "Pasinler", "Şenkaya", "Tekman", "Tortum", "Karaçoban", "Uzundere", "Pazaryolu", "Köprüköy", "Palandöken", "Yakutiye", "Aziziye" ] }, { "il": "Eskişehir", "plaka": 26, "ilceleri": [ "Çifteler", "Mahmudiye", "Mihalıççık", "Sarıcakaya", "Seyitgazi", "Sivrihisar", "Alpu", "Beylikova", "İnönü", "Günyüzü", "Han", "Mihalgazi", "Odunpazarı", "Tepebaşı" ] }, { "il": "Gaziantep", "plaka": 27, "ilceleri": [ "Araban", "İslahiye", "Nizip", "Oğuzeli", "Yavuzeli", "Şahinbey", "Şehitkamil", "Karkamış", "Nurdağı" ] }, { "il": "Giresun", "plaka": 28, "ilceleri": [ "Alucra", "Bulancak", "Dereli", "Espiye", "Eynesil", "Merkez", "Görele", "Keşap", "Şebinkarahisar", "Tirebolu", "Piraziz", "Yağlıdere", "Çamoluk", "Çanakçı", "Doğankent", "Güce" ] }, { "il": "Gümüşhane", "plaka": 29, "ilceleri": [ "Merkez", "Kelkit", "Şiran", "Torul", "Köse", "Kürtün" ] }, { "il": "Hakkari", "plaka": 30, "ilceleri": [ "Çukurca", "Merkez", "Şemdinli", "Yüksekova" ] }, { "il": "Hatay", "plaka": 31, "ilceleri": [ "Altınözü", "Arsuz", "Defne", "Dörtyol", "Hassa", "Antakya", "İskenderun", "Kırıkhan", "Payas", "Reyhanlı", "Samandağ", "Yayladağı", "Erzin", "Belen", "Kumlu" ] }, { "il": "Isparta", "plaka": 32, "ilceleri": [ "Atabey", "Eğirdir", "Gelendost", "Merkez", "Keçiborlu", "Senirkent", "Sütçüler", "Şarkikaraağaç", "Uluborlu", "Yalvaç", "Aksu", "Gönen", "Yenişarbademli" ] }, { "il": "Mersin", "plaka": 33, "ilceleri": [ "Anamur", "Erdemli", "Gülnar", "Mut", "Silifke", "Tarsus", "Aydıncık", "Bozyazı", "Çamlıyayla", "Akdeniz", "Mezitli", "Toroslar", "Yenişehir" ] }, { "il": "İstanbul", "plaka": 34, "ilceleri": [ "Adalar", "Bakırköy", "Beşiktaş", "Beykoz", "Beyoğlu", "Çatalca", "Eyüp", "Fatih", "Gaziosmanpaşa", "Kadıköy", "Kartal", "Sarıyer", "Silivri", "Şile", "Şişli", "Üsküdar", "Zeytinburnu", "Büyükçekmece", "Kağıthane", "Küçükçekmece", "Pendik", "Ümraniye", "Bayrampaşa", "Avcılar", "Bağcılar", "Bahçelievler", "Güngören", "Maltepe", "Sultanbeyli", "Tuzla", "Esenler", "Arnavutköy", "Ataşehir", "Başakşehir", "Beylikdüzü", "Çekmeköy", "Esenyurt", "Sancaktepe", "Sultangazi" ] }, { "il": "İzmir", "plaka": 35, "ilceleri": [ "Aliağa", "Bayındır", "Bergama", "Bornova", "Çeşme", "Dikili", "Foça", "Karaburun", "Karşıyaka", "Kemalpaşa", "Kınık", "Kiraz", "Menemen", "Ödemiş", "Seferihisar", "Selçuk", "Tire", "Torbalı", "Urla", "Beydağ", "Buca", "Konak", "Menderes", "Balçova", "Çiğli", "Gaziemir", "Narlıdere", "Güzelbahçe", "Bayraklı", "Karabağlar" ] }, { "il": "Kars", "plaka": 36, "ilceleri": [ "Arpaçay", "Digor", "Kağızman", "Merkez", "Sarıkamış", "Selim", "Susuz", "Akyaka" ] }, { "il": "Kastamonu", "plaka": 37, "ilceleri": [ "Abana", "Araç", "Azdavay", "Bozkurt", "Cide", "Çatalzeytin", "Daday", "Devrekani", "İnebolu", "Merkez", "Küre", "Taşköprü", "Tosya", "İhsangazi", "Pınarbaşı", "Şenpazar", "Ağlı", "Doğanyurt", "Hanönü", "Seydiler" ] }, { "il": "Kayseri", "plaka": 38, "ilceleri": [ "Bünyan", "Develi", "Felahiye", "İncesu", "Pınarbaşı", "Sarıoğlan", "Sarız", "Tomarza", "Yahyalı", "Yeşilhisar", "Akkışla", "Talas", "Kocasinan", "Melikgazi", "Hacılar", "Özvatan" ] }, { "il": "Kırklareli", "plaka": 39, "ilceleri": [ "Babaeski", "Demirköy", "Merkez", "Kofçaz", "Lüleburgaz", "Pehlivanköy", "Pınarhisar", "Vize" ] }, { "il": "Kırşehir", "plaka": 40, "ilceleri": [ "Çiçekdağı", "Kaman", "Merkez", "Mucur", "Akpınar", "Akçakent", "Boztepe" ] }, { "il": "Kocaeli", "plaka": 41, "ilceleri": [ "Gebze", "Gölcük", "Kandıra", "Karamürsel", "Körfez", "Derince", "Başiskele", "Çayırova", "Darıca", "Dilovası", "İzmit", "Kartepe" ] }, { "il": "Konya", "plaka": 42, "ilceleri": [ "Akşehir", "Beyşehir", "Bozkır", "Cihanbeyli", "Çumra", "Doğanhisar", "Ereğli", "Hadim", "Ilgın", "Kadınhanı", "Karapınar", "Kulu", "Sarayönü", "Seydişehir", "Yunak", "Akören", "Altınekin", "Derebucak", "Hüyük", "Karatay", "Meram", "Selçuklu", "Taşkent", "Ahırlı", "Çeltik", "Derbent", "Emirgazi", "Güneysınır", "Halkapınar", "Tuzlukçu", "Yalıhüyük" ] }, { "il": "Kütahya", "plaka": 43, "ilceleri": [ "Altıntaş", "Domaniç", "Emet", "Gediz", "Merkez", "Simav", "Tavşanlı", "Aslanapa", "Dumlupınar", "Hisarcık", "Şaphane", "Çavdarhisar", "Pazarlar" ] }, { "il": "Malatya", "plaka": 44, "ilceleri": [ "Akçadağ", "Arapgir", "Arguvan", "Darende", "Doğanşehir", "Hekimhan", "Merkez", "Pütürge", "Yeşilyurt", "Battalgazi", "Doğanyol", "Kale", "Kuluncak", "Yazıhan" ] }, { "il": "Manisa", "plaka": 45, "ilceleri": [ "Akhisar", "Alaşehir", "Demirci", "Gördes", "Kırkağaç", "Kula", "Merkez", "Salihli", "Sarıgöl", "Saruhanlı", "Selendi", "Soma", "Şehzadeler", "Yunusemre", "Turgutlu", "Ahmetli", "Gölmarmara", "Köprübaşı" ] }, { "il": "Kahramanmaraş", "plaka": 46, "ilceleri": [ "Afşin", "Andırın", "Dulkadiroğlu", "Onikişubat", "Elbistan", "Göksun", "Merkez", "Pazarcık", "Türkoğlu", "Çağlayancerit", "Ekinözü", "Nurhak" ] }, { "il": "Mardin", "plaka": 47, "ilceleri": [ "Derik", "Kızıltepe", "Artuklu", "Merkez", "Mazıdağı", "Midyat", "Nusaybin", "Ömerli", "Savur", "Dargeçit", "Yeşilli" ] }, { "il": "Muğla", "plaka": 48, "ilceleri": [ "Bodrum", "Datça", "Fethiye", "Köyceğiz", "Marmaris", "Menteşe", "Milas", "Ula", "Yatağan", "Dalaman", "Seydikemer", "Ortaca", "Kavaklıdere" ] }, { "il": "Muş", "plaka": 49, "ilceleri": [ "Bulanık", "Malazgirt", "Merkez", "Varto", "Hasköy", "Korkut" ] }, { "il": "Nevşehir", "plaka": 50, "ilceleri": [ "Avanos", "Derinkuyu", "Gülşehir", "Hacıbektaş", "Kozaklı", "Merkez", "Ürgüp", "Acıgöl" ] }, { "il": "Niğde", "plaka": 51, "ilceleri": [ "Bor", "Çamardı", "Merkez", "Ulukışla", "Altunhisar", "Çiftlik" ] }, { "il": "Ordu", "plaka": 52, "ilceleri": [ "Akkuş", "Altınordu", "Aybastı", "Fatsa", "Gölköy", "Korgan", "Kumru", "Mesudiye", "Perşembe", "Ulubey", "Ünye", "Gülyalı", "Gürgentepe", "Çamaş", "Çatalpınar", "Çaybaşı", "İkizce", "Kabadüz", "Kabataş" ] }, { "il": "Rize", "plaka": 53, "ilceleri": [ "Ardeşen", "Çamlıhemşin", "Çayeli", "Fındıklı", "İkizdere", "Kalkandere", "Pazar", "Merkez", "Güneysu", "Derepazarı", "Hemşin", "İyidere" ] }, { "il": "Sakarya", "plaka": 54, "ilceleri": [ "Akyazı", "Geyve", "Hendek", "Karasu", "Kaynarca", "Sapanca", "Kocaali", "Pamukova", "Taraklı", "Ferizli", "Karapürçek", "Söğütlü", "Adapazarı", "Arifiye", "Erenler", "Serdivan" ] }, { "il": "Samsun", "plaka": 55, "ilceleri": [ "Alaçam", "Bafra", "Çarşamba", "Havza", "Kavak", "Ladik", "Terme", "Vezirköprü", "Asarcık", "Ondokuzmayıs", "Salıpazarı", "Tekkeköy", "Ayvacık", "Yakakent", "Atakum", "Canik", "İlkadım" ] }, { "il": "Siirt", "plaka": 56, "ilceleri": [ "Baykan", "Eruh", "Kurtalan", "Pervari", "Merkez", "Şirvan", "Tillo" ] }, { "il": "Sinop", "plaka": 57, "ilceleri": [ "Ayancık", "Boyabat", "Durağan", "Erfelek", "Gerze", "Merkez", "Türkeli", "Dikmen", "Saraydüzü" ] }, { "il": "Sivas", "plaka": 58, "ilceleri": [ "Divriği", "Gemerek", "Gürün", "Hafik", "İmranlı", "Kangal", "Koyulhisar", "Merkez", "Suşehri", "Şarkışla", "Yıldızeli", "Zara", "Akıncılar", "Altınyayla", "Doğanşar", "Gölova", "Ulaş" ] }, { "il": "Tekirdağ", "plaka": 59, "ilceleri": [ "Çerkezköy", "Çorlu", "Ergene", "Hayrabolu", "Malkara", "Muratlı", "Saray", "Süleymanpaşa", "Kapaklı", "Şarköy", "Marmaraereğlisi" ] }, { "il": "Tokat", "plaka": 60, "ilceleri": [ "Almus", "Artova", "Erbaa", "Niksar", "Reşadiye", "Merkez", "Turhal", "Zile", "Pazar", "Yeşilyurt", "Başçiftlik", "Sulusaray" ] }, { "il": "Trabzon", "plaka": 61, "ilceleri": [ "Akçaabat", "Araklı", "Arsin", "Çaykara", "Maçka", "Of", "Ortahisar", "Sürmene", "Tonya", "Vakfıkebir", "Yomra", "Beşikdüzü", "Şalpazarı", "Çarşıbaşı", "Dernekpazarı", "Düzköy", "Hayrat", "Köprübaşı" ] }, { "il": "Tunceli", "plaka": 62, "ilceleri": [ "Çemişgezek", "Hozat", "Mazgirt", "Nazımiye", "Ovacık", "Pertek", "Pülümür", "Merkez" ] }, { "il": "Şanlıurfa", "plaka": 63, "ilceleri": [ "Akçakale", "Birecik", "Bozova", "Ceylanpınar", "Eyyübiye", "Halfeti", "Haliliye", "Hilvan", "Karaköprü", "Siverek", "Suruç", "Viranşehir", "Harran" ] }, { "il": "Uşak", "plaka": 64, "ilceleri": [ "Banaz", "Eşme", "Karahallı", "Sivaslı", "Ulubey", "Merkez" ] }, { "il": "Van", "plaka": 65, "ilceleri": [ "Başkale", "Çatak", "Erciş", "Gevaş", "Gürpınar", "İpekyolu", "Muradiye", "Özalp", "Tuşba", "Bahçesaray", "Çaldıran", "Edremit", "Saray" ] }, { "il": "Yozgat", "plaka": 66, "ilceleri": [ "Akdağmadeni", "Boğazlıyan", "Çayıralan", "Çekerek", "Sarıkaya", "Sorgun", "Şefaatli", "Yerköy", "Merkez", "Aydıncık", "Çandır", "Kadışehri", "Saraykent", "Yenifakılı" ] }, { "il": "Zonguldak", "plaka": 67, "ilceleri": [ "Çaycuma", "Devrek", "Ereğli", "Merkez", "Alaplı", "Gökçebey" ] }, { "il": "Aksaray", "plaka": 68, "ilceleri": [ "Ağaçören", "Eskil", "Gülağaç", "Güzelyurt", "Merkez", "Ortaköy", "Sarıyahşi" ] }, { "il": "Bayburt", "plaka": 69, "ilceleri": [ "Merkez", "Aydıntepe", "Demirözü" ] }, { "il": "Karaman", "plaka": 70, "ilceleri": [ "Ermenek", "Merkez", "Ayrancı", "Kazımkarabekir", "Başyayla", "Sarıveliler" ] }, { "il": "Kırıkkale", "plaka": 71, "ilceleri": [ "Delice", "Keskin", "Merkez", "Sulakyurt", "Bahşili", "Balışeyh", "Çelebi", "Karakeçili", "Yahşihan" ] }, { "il": "Batman", "plaka": 72, "ilceleri": [ "Merkez", "Beşiri", "Gercüş", "Kozluk", "Sason", "Hasankeyf" ] }, { "il": "Şırnak", "plaka": 73, "ilceleri": [ "Beytüşşebap", "Cizre", "İdil", "Silopi", "Merkez", "Uludere", "Güçlükonak" ] }, { "il": "Bartın", "plaka": 74, "ilceleri": [ "Merkez", "Kurucaşile", "Ulus", "Amasra" ] }, { "il": "Ardahan", "plaka": 75, "ilceleri": [ "Merkez", "Çıldır", "Göle", "Hanak", "Posof", "Damal" ] }, { "il": "Iğdır", "plaka": 76, "ilceleri": [ "Aralık", "Merkez", "Tuzluca", "Karakoyunlu" ] }, { "il": "Yalova", "plaka": 77, "ilceleri": [ "Merkez", "Altınova", "Armutlu", "Çınarcık", "Çiftlikköy", "Termal" ] }, { "il": "Karabük", "plaka": 78, "ilceleri": [ "Eflani", "Eskipazar", "Merkez", "Ovacık", "Safranbolu", "Yenice" ] }, { "il": "Kilis", "plaka": 79, "ilceleri": [ "Merkez", "Elbeyli", "Musabeyli", "Polateli" ] }, { "il": "Osmaniye", "plaka": 80, "ilceleri": [ "Bahçe", "Kadirli", "Merkez", "Düziçi", "Hasanbeyli", "Sumbas", "Toprakkale" ] }, { "il": "Düzce", "plaka": 81, "ilceleri": [ "Akçakoca", "Merkez", "Yığılca", "Cumayeri", "Gölyaka", "Çilimli", "Gümüşova", "Kaynaşlı" ] } ] function search(nameKey, myArray){ for (var i=0; i < myArray.length; i++) { if (myArray[i].plaka == nameKey) { return myArray[i]; } } } $( document ).ready(function() { $.each(data, function( index, value ) { $('#Iller').append($('', { value: value.plaka, text: value.il })); }); $("#Iller").change(function(){ var valueSelected = this.value; if($('#Iller').val() > 0) { $('#Ilceler').html(''); $('#Ilceler').append($('', { value: 0, text: 'Lütfen Bir İlçe seçiniz' })); $('#Ilceler').prop("disabled", false); var resultObject = search($('#Iller').val(), data); $.each(resultObject.ilceleri, function( index, value ) { $('#Ilceler').append($('', { value: value, text: value })); }); return false; } $('#Ilceler').prop("disabled", true); }); });

###JavaScript il ilçe seçme kodu

@007basaran

This comment has been minimized.

Copy link

@007basaran 007basaran commented May 25, 2020

<?php
$sehir=array(34=>"istanbul",6=>"ankara",35=>"izmir",1=>"adana",2=>"adıyaman",3=>"afyon",4=>"ağrı",68=>"aksaray",5=>"amasya",
7=>"antalya",75=>"ardahan",8=>"artvin",9=>"aydın",10=>"balıkesir",74=>"bartın",72=>"batman",69=>"bayburt",11=>"bilecik",
12=>"bingöl",13=>"bitlis",14=>"bolu",15=>"burdur",16=>"bursa",17=>"çanakkale",18=>"çankırı",19=>"çorum",20=>"denizli",
21=>"diyarbakır",81=>"düzce",22=>"edirne",23=>"elazığ",24=>"erzincan",25=>"erzurum",26=>"eskişehir",27=>"gaziantep",
28=>"giresun",29=>"gümüşhane",30=>"hakkari",31=>"hatay",76=>"ığdır",32=>"ısparta",33=>"içel",78=>"karabük",70=>"karaman",
36=>"kars",37=>"kastamonu",38=>"kayseri",71=>"kırıkkale",39=>"kırklareli",40=>"kırşehir",79=>"kilis",41=>"kocaeli",42=>"konya",
43=>"kütahya",44=>"malatya",45=>"manisa",46=>"maraş",47=>"mardin",48=>"muğla",49=>"muş",50=>"nevşehir",51=>"niğde",
52=>"ordu",80=>"osmaniye",53=>"rize",54=>"sakarya",55=>"samsun",56=>"siirt",57=>"sinop",58=>"sivas",73=>"şırnak",
59=>"tekirdağ",60=>"tokat",61=>"trabzon",62=>"tunceli",63=>"şanlıurfa",64=>"uşak",65=>"van",77=>"yalova",66=>"yozgat",
67=>"zonguldak");
?>
<select name="sehir" id="sehir">
<?php foreach($sehir as $key => $val){?>
<option value="<?=$key;?>"><?=$val;?></option>
<?php }?>
</select>

<?php $link = "https://www.google.com/search?q=BURAYA";?>

sonucu php nin içinde nasıl gösterebilirim

URL'ye CURL isteği gönderin, CURL kullanımıyla ilgili İnternet üzerinden araştırma yapın, CURL size sonucu getirecektir.

@Oakknight

This comment has been minimized.

Copy link

@Oakknight Oakknight commented Jun 15, 2020

Çünkü ADAMIN DİBİ olmak bunu gerektirir. Hepinizin eline sağlık.

@harunkadikoy

This comment has been minimized.

Copy link

@harunkadikoy harunkadikoy commented Jul 31, 2020

ellerinize sağlık imece usulü 💯

@OsmanDLSMN

This comment has been minimized.

Copy link

@OsmanDLSMN OsmanDLSMN commented Sep 13, 2020

hepinizin ellerine sağlık

@mgulsoy

This comment has been minimized.

Copy link

@mgulsoy mgulsoy commented Nov 29, 2020

Teşekkürler. Elinize sağlık.

@jeepo1

This comment has been minimized.

Copy link

@jeepo1 jeepo1 commented Jan 5, 2021

Github için ilk yorumum;
Elinize sağlık hocam :)

@FlySquare

This comment has been minimized.

Copy link

@FlySquare FlySquare commented May 10, 2021

React native alfabetik sıralaması

<Picker.Item value="Adıyaman" label="Adıyaman"/> <Picker.Item value="Afyonkarahisar" label="Afyonkarahisar"/> <Picker.Item value="Aksaray" label="Aksaray"/> <Picker.Item value="Amasya" label="Amasya"/> <Picker.Item value="Ankara" label="Ankara"/> <Picker.Item value="Antalya" label="Antalya"/> <Picker.Item value="Ardahan" label="Ardahan"/> <Picker.Item value="Artvin" label="Artvin"/> <Picker.Item value="Aydın" label="Aydın"/> <Picker.Item value="Ağrı" label="Ağrı"/> <Picker.Item value="Balıkesir" label="Balıkesir"/> <Picker.Item value="Bartın" label="Bartın"/> <Picker.Item value="Batman" label="Batman"/> <Picker.Item value="Bayburt" label="Bayburt"/> <Picker.Item value="Bilecik" label="Bilecik"/> <Picker.Item value="Bingöl" label="Bingöl"/> <Picker.Item value="Bitlis" label="Bitlis"/> <Picker.Item value="Bolu" label="Bolu"/> <Picker.Item value="Burdur" label="Burdur"/> <Picker.Item value="Bursa" label="Bursa"/> <Picker.Item value="Denizli" label="Denizli"/> <Picker.Item value="Diyarbakır" label="Diyarbakır"/> <Picker.Item value="Düzce" label="Düzce"/> <Picker.Item value="Edirne" label="Edirne"/> <Picker.Item value="Elazığ" label="Elazığ"/> <Picker.Item value="Erzincan" label="Erzincan"/> <Picker.Item value="Erzurum" label="Erzurum"/> <Picker.Item value="Eskişehir" label="Eskişehir"/> <Picker.Item value="Gaziantep" label="Gaziantep"/> <Picker.Item value="Giresun" label="Giresun"/> <Picker.Item value="Gümüşhane" label="Gümüşhane"/> <Picker.Item value="Hakkâri" label="Hakkâri"/> <Picker.Item value="Hatay" label="Hatay"/> <Picker.Item value="Isparta" label="Isparta"/> <Picker.Item value="Iğdır" label="Iğdır"/> <Picker.Item value="Kahramanmaraş" label="Kahramanmaraş"/> <Picker.Item value="Karabük" label="Karabük"/> <Picker.Item value="Karaman" label="Karaman"/> <Picker.Item value="Kars" label="Kars"/> <Picker.Item value="Kastamonu" label="Kastamonu"/> <Picker.Item value="Kayseri" label="Kayseri"/> <Picker.Item value="Kilis" label="Kilis"/> <Picker.Item value="Kocaeli" label="Kocaeli"/> <Picker.Item value="Konya" label="Konya"/> <Picker.Item value="Kütahya" label="Kütahya"/> <Picker.Item value="Kırklareli" label="Kırklareli"/> <Picker.Item value="Kırıkkale" label="Kırıkkale"/> <Picker.Item value="Kırşehir" label="Kırşehir"/> <Picker.Item value="Malatya" label="Malatya"/> <Picker.Item value="Manisa" label="Manisa"/> <Picker.Item value="Mardin" label="Mardin"/> <Picker.Item value="Mersin" label="Mersin"/> <Picker.Item value="Muğla" label="Muğla"/> <Picker.Item value="Muş" label="Muş"/> <Picker.Item value="Nevşehir" label="Nevşehir"/> <Picker.Item value="Niğde" label="Niğde"/> <Picker.Item value="Ordu" label="Ordu"/> <Picker.Item value="Osmaniye" label="Osmaniye"/> <Picker.Item value="Rize" label="Rize"/> <Picker.Item value="Sakarya" label="Sakarya"/> <Picker.Item value="Samsun" label="Samsun"/> <Picker.Item value="Siirt" label="Siirt"/> <Picker.Item value="Sinop" label="Sinop"/> <Picker.Item value="Sivas" label="Sivas"/> <Picker.Item value="Tekirdağ" label="Tekirdağ"/> <Picker.Item value="Tokat" label="Tokat"/> <Picker.Item value="Trabzon" label="Trabzon"/> <Picker.Item value="Tunceli" label="Tunceli"/> <Picker.Item value="Uşak" label="Uşak"/> <Picker.Item value="Van" label="Van"/> <Picker.Item value="Yalova" label="Yalova"/> <Picker.Item value="Yozgat" label="Yozgat"/> <Picker.Item value="Zonguldak" label="Zonguldak"/> <Picker.Item value="Çanakkale" label="Çanakkale"/> <Picker.Item value="Çankırı" label="Çankırı"/> <Picker.Item value="Çorum" label="Çorum"/> <Picker.Item value="İstanbul" label="İstanbul"/> <Picker.Item value="İzmir" label="İzmir"/> <Picker.Item value="Şanlıurfa" label="Şanlıurfa"/> <Picker.Item value="Şırnak" label="Şırnak"/>

@sezginibis

This comment has been minimized.

Copy link

@sezginibis sezginibis commented Jun 12, 2021

AJAX ile kullanım için bir örnek de ben atayım.

ALFABETİK İL SIRASINDA

<option value="Adana" data-ekdeger="1">Adana</option>
<option value="Adıyaman" data-ekdeger="2">Adıyaman</option>
<option value="Afyonkarahisar " data-ekdeger="3">Afyonkarahisar </option>
<option value="Ağrı" data-ekdeger="4">Ağrı</option>
<option value="Aksaray" data-ekdeger="68">Aksaray</option>
<option value="Amasya" data-ekdeger="5">Amasya</option>
<option value="Ankara" data-ekdeger="6">Ankara</option>
<option value="Antalya" data-ekdeger="7">Antalya</option>
<option value="Ardahan" data-ekdeger="75">Ardahan</option>
<option value="Artvin" data-ekdeger="8">Artvin</option>
<option value="Aydın" data-ekdeger="9">Aydın</option>
<option value="Balıkesir" data-ekdeger="10">Balıkesir</option>
<option value="Bartın" data-ekdeger="74">Bartın</option>
<option value="Batman" data-ekdeger="72">Batman</option>
<option value="Bayburt" data-ekdeger="69">Bayburt</option>
<option value="Bilecik" data-ekdeger="11">Bilecik</option>
<option value="Bingöl" data-ekdeger="12">Bingöl</option>
<option value="Bitlis" data-ekdeger="13">Bitlis</option>
<option value="Bolu" data-ekdeger="14">Bolu</option>
<option value="Burdur" data-ekdeger="15">Burdur</option>
<option value="Bursa" data-ekdeger="16">Bursa</option>
<option value="Çanakkale" data-ekdeger="17">Çanakkale</option>
<option value="Çankırı" data-ekdeger="18">Çankırı</option>
<option value="Çorum" data-ekdeger="19">Çorum</option>
<option value="Denizli" data-ekdeger="20">Denizli</option>
<option value="Diyarbakır" data-ekdeger="21">Diyarbakır</option>
<option value="Düzce" data-ekdeger="81">Düzce</option>
<option value="Edirne" data-ekdeger="22">Edirne</option>
<option value="Elazığ" data-ekdeger="23">Elazığ</option>
<option value="Erzincan" data-ekdeger="24">Erzincan</option>
<option value="Erzurum" data-ekdeger="25">Erzurum</option>
<option value="Eskişehir" data-ekdeger="26">Eskişehir</option>
<option value="Gaziantep" data-ekdeger="27">Gaziantep</option>
<option value="Giresun" data-ekdeger="28">Giresun</option>
<option value="Gümüşhane" data-ekdeger="29">Gümüşhane</option>
<option value="Hakkari" data-ekdeger="30">Hakkari</option>
<option value="Hatay" data-ekdeger="31">Hatay</option>
<option value="Iğdır" data-ekdeger="76">Iğdır</option>
<option value="Isparta" data-ekdeger="32">Isparta</option>
<option value="İstanbul" data-ekdeger="34">İstanbul</option>
<option value="İzmir" data-ekdeger="35">İzmir</option>
<option value="Kahramanmaraş" data-ekdeger="46">Kahramanmaraş</option>
<option value="Karabük" data-ekdeger="78">Karabük</option>
<option value="Karaman" data-ekdeger="70">Karaman</option>
<option value="Kars" data-ekdeger="36">Kars</option>
<option value="Kastamonu" data-ekdeger="37">Kastamonu</option>
<option value="Kayseri" data-ekdeger="38">Kayseri</option>
<option value="Kırıkkale" data-ekdeger="71">Kırıkkale</option>
<option value="Kırklareli" data-ekdeger="39">Kırklareli</option>
<option value="Kırşehir" data-ekdeger="40">Kırşehir</option>
<option value="Kilis" data-ekdeger="79">Kilis</option>
<option value="Kocaeli" data-ekdeger="41">Kocaeli</option>
<option value="Konya" data-ekdeger="42">Konya</option>
<option value="Kütahya" data-ekdeger="43">Kütahya</option>
<option value="Malatya" data-ekdeger="44">Malatya</option>
<option value="Manisa" data-ekdeger="45">Manisa</option>
<option value="Mardin" data-ekdeger="47">Mardin</option>
<option value="Mersin" data-ekdeger="33">Mersin</option>
<option value="Muğla" data-ekdeger="48">Muğla</option>
<option value="Muş" data-ekdeger="49">Muş</option>
<option value="Nevşehir" data-ekdeger="50">Nevşehir</option>
<option value="Niğde" data-ekdeger="51">Niğde</option>
<option value="Ordu" data-ekdeger="52">Ordu</option>
<option value="Osmaniye" data-ekdeger="80">Osmaniye</option>
<option value="Rize" data-ekdeger="53">Rize</option>
<option value="Sakarya" data-ekdeger="54">Sakarya</option>
<option value="Samsun" data-ekdeger="55">Samsun</option>
<option value="Siirt" data-ekdeger="56">Siirt</option>
<option value="Sinop" data-ekdeger="57">Sinop</option>
<option value="Sivas" data-ekdeger="58">Sivas</option>
<option value="Şanlıurfa" data-ekdeger="63">Şanlıurfa</option>
<option value="Şırnak" data-ekdeger="73">Şırnak</option>
<option value="Tekirdağ" data-ekdeger="59">Tekirdağ</option>
<option value="Tokat" data-ekdeger="60">Tokat</option>
<option value="Trabzon" data-ekdeger="61">Trabzon</option>
<option value="Tunceli" data-ekdeger="62">Tunceli</option>
<option value="Uşak" data-ekdeger="64">Uşak</option>
<option value="Van" data-ekdeger="65">Van</option>
<option value="Yalova" data-ekdeger="77">Yalova</option>
<option value="Yozgat" data-ekdeger="66">Yozgat</option>
<option value="Zonguldak" data-ekdeger="67">Zonguldak</option>

PLAKA İL SIRASINDA

<option value="Adana" data-ekdeger="1">Adana</option>
<option value="Adıyaman" data-ekdeger="2">Adıyaman</option>
<option value="Afyonkarahisar " data-ekdeger="3">Afyonkarahisar </option>
<option value="Ağrı" data-ekdeger="4">Ağrı</option>
<option value="Amasya" data-ekdeger="5">Amasya</option>
<option value="Ankara" data-ekdeger="6">Ankara</option>
<option value="Antalya" data-ekdeger="7">Antalya</option>
<option value="Artvin" data-ekdeger="8">Artvin</option>
<option value="Aydın" data-ekdeger="9">Aydın</option>
<option value="Balıkesir" data-ekdeger="10">Balıkesir</option>
<option value="Bilecik" data-ekdeger="11">Bilecik</option>
<option value="Bingöl" data-ekdeger="12">Bingöl</option>
<option value="Bitlis" data-ekdeger="13">Bitlis</option>
<option value="Bolu" data-ekdeger="14">Bolu</option>
<option value="Burdur" data-ekdeger="15">Burdur</option>
<option value="Bursa" data-ekdeger="16">Bursa</option>
<option value="Çanakkale" data-ekdeger="17">Çanakkale</option>
<option value="Çankırı" data-ekdeger="18">Çankırı</option>
<option value="Çorum" data-ekdeger="19">Çorum</option>
<option value="Denizli" data-ekdeger="20">Denizli</option>
<option value="Diyarbakır" data-ekdeger="21">Diyarbakır</option>
<option value="Edirne" data-ekdeger="22">Edirne</option>
<option value="Elazığ" data-ekdeger="23">Elazığ</option>
<option value="Erzincan" data-ekdeger="24">Erzincan</option>
<option value="Erzurum" data-ekdeger="25">Erzurum</option>
<option value="Eskişehir" data-ekdeger="26">Eskişehir</option>
<option value="Gaziantep" data-ekdeger="27">Gaziantep</option>
<option value="Giresun" data-ekdeger="28">Giresun</option>
<option value="Gümüşhane" data-ekdeger="29">Gümüşhane</option>
<option value="Hakkari" data-ekdeger="30">Hakkari</option>
<option value="Hatay" data-ekdeger="31">Hatay</option>
<option value="Isparta" data-ekdeger="32">Isparta</option>
<option value="Mersin" data-ekdeger="33">Mersin</option>
<option value="İstanbul" data-ekdeger="34">İstanbul</option>
<option value="İzmir" data-ekdeger="35">İzmir</option>
<option value="Kars" data-ekdeger="36">Kars</option>
<option value="Kastamonu" data-ekdeger="37">Kastamonu</option>
<option value="Kayseri" data-ekdeger="38">Kayseri</option>
<option value="Kırklareli" data-ekdeger="39">Kırklareli</option>
<option value="Kırşehir" data-ekdeger="40">Kırşehir</option>
<option value="Kocaeli" data-ekdeger="41">Kocaeli</option>
<option value="Konya" data-ekdeger="42">Konya</option>
<option value="Kütahya" data-ekdeger="43">Kütahya</option>
<option value="Malatya" data-ekdeger="44">Malatya</option>
<option value="Manisa" data-ekdeger="45">Manisa</option>
<option value="Kahramanmaraş" data-ekdeger="46">Kahramanmaraş</option>
<option value="Mardin" data-ekdeger="47">Mardin</option>
<option value="Muğla" data-ekdeger="48">Muğla</option>
<option value="Muş" data-ekdeger="49">Muş</option>
<option value="Nevşehir" data-ekdeger="50">Nevşehir</option>
<option value="Niğde" data-ekdeger="51">Niğde</option>
<option value="Ordu" data-ekdeger="52">Ordu</option>
<option value="Rize" data-ekdeger="53">Rize</option>
<option value="Sakarya" data-ekdeger="54">Sakarya</option>
<option value="Samsun" data-ekdeger="55">Samsun</option>
<option value="Siirt" data-ekdeger="56">Siirt</option>
<option value="Sinop" data-ekdeger="57">Sinop</option>
<option value="Sivas" data-ekdeger="58">Sivas</option>
<option value="Tekirdağ" data-ekdeger="59">Tekirdağ</option>
<option value="Tokat" data-ekdeger="60">Tokat</option>
<option value="Trabzon" data-ekdeger="61">Trabzon</option>
<option value="Tunceli" data-ekdeger="62">Tunceli</option>
<option value="Şanlıurfa" data-ekdeger="63">Şanlıurfa</option>
<option value="Uşak" data-ekdeger="64">Uşak</option>
<option value="Van" data-ekdeger="65">Van</option>
<option value="Yozgat" data-ekdeger="66">Yozgat</option>
<option value="Zonguldak" data-ekdeger="67">Zonguldak</option>
<option value="Aksaray" data-ekdeger="68">Aksaray</option>
<option value="Bayburt" data-ekdeger="69">Bayburt</option>
<option value="Karaman" data-ekdeger="70">Karaman</option>
<option value="Kırıkkale" data-ekdeger="71">Kırıkkale</option>
<option value="Batman" data-ekdeger="72">Batman</option>
<option value="Şırnak" data-ekdeger="73">Şırnak</option>
<option value="Bartın" data-ekdeger="74">Bartın</option>
<option value="Ardahan" data-ekdeger="75">Ardahan</option>
<option value="Iğdır" data-ekdeger="76">Iğdır</option>
<option value="Yalova" data-ekdeger="77">Yalova</option>
<option value="Karabük" data-ekdeger="78">Karabük</option>
<option value="Kilis" data-ekdeger="79">Kilis</option>
<option value="Osmaniye" data-ekdeger="80">Osmaniye</option>
<option value="Düzce" data-ekdeger="81">Düzce</option>
@baris42

This comment has been minimized.

Copy link

@baris42 baris42 commented Jun 25, 2021

Adana Adıyaman Afyonkarahisar Ağrı Aksaray Amasya Ankara Antalya Ardahan Artvin Aydın Balıkesir Bartın Batman Bayburt Bilecik Bingöl Bitlis Bolu Burdur Bursa Çanakkale Çankırı Çorum Denizli Diyarbakır Düzce Edirne Elazığ Erzincan Erzurum Eskişehir Gaziantep Giresun Gümüşhane Hakkari Hatay Iğdır Isparta İstanbul İzmir Kahramanmaraş Karabük Karaman Kars Kastamonu Kayseri Kırıkkale Kırklareli Kırşehir Kilis Kocaeli Konya Kütahya Malatya Manisa Mardin Mersin Muğla Muş Nevşehir Niğde Ordu Osmaniye Rize Sakarya Samsun Siirt Sinop Sivas Şanlıurfa Şırnak Tekirdağ Tokat Trabzon Tunceli Uşak Van Yalova Yozgat Zonguldak

SAGOLASIN

@umutcanli

This comment has been minimized.

Copy link

@umutcanli umutcanli commented Jul 6, 2021

Çok teşekkürler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment