Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Ciclo for PHP ejemplos

<?php
//this is a different way to use the 'for'
//Essa é uma maneira diferente de usar o 'for'
for($i = $x = $z = 1; $i <= 10;$i++,$x+=2,$z=&$p){
   
    $p = $i + $x;
   
    print "$i = $i , $x = $x , $z = $z <br />";
   
}

?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #Ciclo #PHP #ejemplos
ADD COMMENT
Topic
Name
8+6 =