Help outputting an array?

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

 



Hi all - it seems the longer I use PHP, the stupider my questions are getting. I finally got my XML parsed into an array, but perhaps my skills at dealing with the array are not where I thought they were. My array print_r's out like this:

Array
(
  [PARAS] => Array
    (
      [PARA] => Array
        (
          [__multi] => 1
            [0] => Array
              (
                [NOTE] => Here is my first note.
                [TITLE] => Here is my first title.
              )
            [1] => Array
              (
                [NOTE] => Here is my second note.
                [TITLE] => Here is my second title.
              )
        )
    )
)

I just want to loop through the array and output it as a table. It would look something like this:

<td>Here is my first note.</td><td>Here is my first title.</td>
<td>Here is my second note.</td><td>Here is my second title.</td>

What incredibly easy way to do this am I just missing? Thanks!  :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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