Re: [PHP] I wish I knew more about multi-dimensional arrays

2003-08-23 Thread Verdon vaillancourt
Fri, 22 Aug 2003 11:03:10 -0600 > To: 'PHP-General' <[EMAIL PROTECTED]> > Subject: Re: [PHP] I wish I knew more about multi-dimensional arrays > > mysql result as a multi-dimensional array: > > while( $row = mysql_fetch_array($result) ) { > $rows[] = $row; >

Re: [PHP] I wish I knew more about multi-dimensional arrays

2003-08-22 Thread Ray Hunter
mysql result as a multi-dimensional array: while( $row = mysql_fetch_array($result) ) { $rows[] = $row; } now you have a multi-dimensional array that contains each row in rows... examples: row 1 col 1 - $rows[0][0] row 3 col 2 - $rows[3][2] hth -- bigdog On Fri, 2003-08-22 at 10:37, Verdon