$pol = $_GET['value'];
$q="SELECT namefull FROM model WHERE mark like \"".$pol."\" ORDER BY namefull";
$result=mysql_query($q);
$row = mysql_num_rows($result);
if (!empty($row)) {
?><OPTION value=0></OPTION><?
for ($i = 0; $i < $row; $i++){
$row_arr = mysql_fetch_array($result);
$modell = $row_arr['namefull'];
?><OPTION value="<?=$modell?>"><?=$modell?></OPTION><?
}
}else {
?><OPTION value=0>Not found</OPTION><?
}
?>