Hocam!!
Bunu şu şekilde uyarlamam gerekiyordu aşağıya uyarladım

tablo adı firma

firma------sehir------uyeliktur------onay
A firması---34----------1------------1--
B firması---34----------1------------1--
C firması---58----------1------------1--
D firması---34----------1------------1--
E firması---58----------1------------1--



<?php
$sql="SELECT sehir from firma where uyeliktur='1' and onay='1' group by sehir";
$sorgu=mysql_query($sql) or die(mysql_error());
while($sehir=mysql_fetch_array($sorgu))
{
$sehir[]=$sehir['sehir'];
print_r($sehir);
}
?>
çıktısı şu oluyor
Array ( [0] => 34 [sehir] => 34 [1] => 34 ) Array ( [0] => 58 [sehir] => 58 [1] => 58 )
ama benim olmasını istediğim aşağıdaki gibiydi.
$sehir=Array("34","58")
Nasıl elde edbilirm bunu..