arrays question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have this that looks like this

array(3) {
  [0]=>
  array(2) {
    [0]=>
    string(1) "1"
    [1]=>
    string(1) "2"
  }
  [1]=>
  array(2) {
    [0]=>
    string(3) "492"
    [1]=>
    string(3) "211"
  }
  [2]=>
  array(2) {
    [0]=>
    string(2) "11"
    [1]=>
    string(2) "20"
  }
}

I want to loop through so I can get and print "1","492","11" and
"2","211","20" What is the best way to do this? I suck with arrays and
I can't get my looping right.

Thanks for your help anybody!

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux