altayalp adlı üyeden alıntı:
mesajı görüntüle
NOKProduction adlı üyeden alıntı:
mesajı görüntüle
14
●1.812
<table width="372" border="1" align="center" cellpadding="0" cellspacing="0">
<?php
$sorgu = mysql_query("select modeli, markasi from ilanlar where markasi='$marka' and (medeli='$model' and onay='onayli') group by modeli");
$ilansay = mysql_num_rows($sorgu);
while ($oku = mysql_fetch_row($sorgu)) {
$marka = $oku[1];
$model = $oku[2];
?>
<a href="ilan_list.php?marka=<? echo $marka?>&model=<? echo $model ?>"><? echo ucfirst ($model) ?></a>
<? echo $ilansay ?>
</tr>
<?php
}
?>
</table>