Simple script to print the letters or numbers to over and over again. This process is called looping / iteration by using PHP.
<?phpI wish you like.
$kata = $_GET['kata'];
$byk = $_GET['banyak'];
echo “Kata : $kata<br>Cetak Sebanyak : $byk<br><br>Hasil : <br>”;
for($i=0;$i<$byk;$i++){ echo “$kata cetak ke-$i<br>”; }
?>
0 comments on Looping On PHP :
Post a Comment and Don't Spam!
Dont Spam please