RE: [PHP] Nested for() loops?

From: Date: Fri, 06 Apr 2001 16:52:28 +0000
Subject: RE: [PHP] Nested for() loops?
Groups: php.general 
Request: Send a blank email to php-general+get-47467@lists.php.net to get a copy of this message
I cut and pasted your code and it worked fine - ??? kirk > As a test, I did this and it doesn't work. The script simply doesn't > give any output. > > <? > error_reporting(E_ALL); > > for( $i=0; $i<10; $i++ ) > for( $j=0; $j<10; $j++ ) > { > $res = $i * $j; > print(" result = $res <br>"); > } > ?> > > If I remove the inner loop then it works fine but that's useless. >

« previous php.general (#47467) next »