function City($id) {
while ($id = mysql_fetch_assoc( $CityQuery )) {
$CityQuery = Query( 'select * from city order by name asc' );
if ($City = mysql_fetch_assoc( $CityQuery )) {
echo '
if ($City['id'] == $id) {
echo ' selected="selected" ';
echo ' value="';
}
$City[id];
}
echo'"' ;
echo '">';
echo $City[name];
echo '';
}}
Merhaba arkadaşlar while döngüsünü beceremedim. Nerde hata yapıyorum acaba