Re: Nested loopa

From: Date: Wed, 26 Dec 2012 01:08:18 +0000
Subject: Re: Nested loopa
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-319951@lists.php.net to get a copy of this message
On 12/25/2012 7:21 PM, Ken Arck wrote:
So I cannot do nested do loops in php? <?php $a = 0 ; $b = 0 ; do {
    echo "$a\n" ;
       do {
     echo "$b\n" ;
      $b++
     }while($b <=10) ;
     $a++;
}while($a <= 20) ; ?> Why do you say that?


« previous php.general (#319951) next »