/ Published in: PHP
                    
                                        
Şu iflerin sayısını azaltmaya çalışıyorum. İşlemin uzun sayılar için de tekrarlanmasını istiyorum.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
$sayi = 1;
$sonsayi = 10000;
for($a=1;$a<$sonsayi;$a++){
if($uzunluk == 1){
echo $sayi."<br/>";
}
}
if($uzunluk == 2){
echo $sayi."<br/>";
}
}
if($uzunluk == 3){
echo $sayi."<br/>";
}
}
//Bu if'leri tek bir döngüde nasıl toplarım?
$sayi++;
}
?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                