$sql=mysql_query("select * from urunler");
if(mysql_num_rows($sql)!=0) {
while($oku = mysql_fetch_array($sql)) {
$gelen .= $oku['satis_rakami'].',';
}
}
echo rtrim($gelen,",");
Şeklinde dener misin.
$sql=mysql_query("select * from urunler");
if(mysql_num_rows($sql)!=0) {
while($oku = mysql_fetch_array($sql)) {
$gelen .= $oku['satis_rakami'].',';
}
}
echo rtrim($gelen,",");