[PHP] Re: php-general Digest 7 Apr 2001 12:32:53 -0000 Issue 613

2001-04-09 Thread jvoth
Hi Yasuo, Subject: Re: [PHP] Nested for() loops? - Now Multi Dimension Arrays Date: Sat, 7 Apr 2001 12:57:02 +0900 From: "Yasuo Ohgaki" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Simple to fix it. You just need to resolve ambiguity with {}. $res = $i * $j;

[PHP] Nested for() loops?

2001-04-06 Thread jvoth
Howdy Y'all! I'm trying to figure out why I'm having so much difficulty with nested for loops. 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; $i10; $i++ ) for( $j=0; $j10; $j++ ) { $res = $i * $j;

Re: [PHP] Nested for() loops? - Now Multi Dimension Arrays

2001-04-06 Thread jvoth
Joe Stump wrote: A copy and paste into foo.php and then a php -q foo.php yielded results for me. Yeah, it's giving me results too today. I don't know what went wrong yesterday. To extend my question, I'm trying to work with multidimensional arrays. For example, I would like to do this: