1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<select name="region" id="region">
<option value="">Region</option>
<?php
$result=$db->query("SELECT * FROM regions");
while($row=$result->fetch_array(MYSQLI_BOTH))
{
	echo '<option value="'.$row[0].'">'.$row[1].'</option>';
	}
?>
</select>

</td>
<td>
<div id="sch_dropdown">
<select name="school" id="school">
<option value="">Məktəb</option>
</select>
</div>
<span id="loading"><img src="core/design/img/jquery-ui/loading.gif" width="16" height="16" align="absmiddle">&nbsp;Yüklənir...</span>
<div id="no_sch">Bu regionda məktəb yoxdur</div>
</td>
<td>
<select name="class">
<option value="">Sİnif seçin</option>
</select>