<select class="input-xlarge" name="safihacinsi">
<option value=""></option>
<?php
$sorgu="SELECT Stok_Karti.StokID,Stok_Karti.WebStokKodu + ' ' + Stok_Karti.WebStokIsmi AS StokAdi FROM Stok_Karti INNER JOIN Stok_Karti_Cins ON Stok_Karti.StokID = Stok_Karti_Cins.StokID WHERE Stok_Karti.Durum=0 and Stok_Karti_Cins.StokCinsID = 12 order By Stok_Karti.StokKodu +' - '+Stok_Karti.StokIsmi";
$sonuc=odbc_exec($baglanti,$sorgu);
while($satir = odbc_fetch_array($sonuc))
{
?>
<option value="<?php echo $satir['StokID']; ?>"><?php echo $satir['StokAdi']; ?></option>
<?php
}
?>
</select>
The query is very fast. But the ComboBox is filling up too slowly. 200 shots are filling in 10 seconds. However, the query does not last for 1 second. Can you help me please ?