Re: [PHP] Multidimentional array problems

2006-04-04 Thread John Wells
On 4/3/06, Mace Eliason <[EMAIL PROTECTED]> wrote: > This is what I am doing and the output (for testing) seems correct > while($row=mysql_fetch_array($result)) > { > $banner= array($arrayIndex => $row); > > echo $banner[$arrayIndex]["image"]. ""; > echo $banner[$arrayIndex]["url"]. ""; > e

Re: [PHP] Multidimentional array problems

2006-04-03 Thread Tom Rogers
Hi, Tuesday, April 4, 2006, 8:37:18 AM, you wrote: ME> Hi, ME> I am trying to read form a database and place everything in a ME> multi-dimentional array ME> This is what I am doing and the output (for testing) seems correct ME> while($row=mysql_fetch_array($result)) ME> { ME> $banner= array(

Re: [PHP] Multidimentional array problems

2006-04-03 Thread Philip Hallstrom
I am trying to read form a database and place everything in a multi-dimentional array This is what I am doing and the output (for testing) seems correct while($row=mysql_fetch_array($result)) { $banner= array($arrayIndex => $row); echo $banner[$arrayIndex]["image"]. ""; echo $banner[$arrayIndex