display an array in html table

Posted by Davi on Stack Overflow See other posts from Stack Overflow or by Davi
Published on 2010-05-05T14:52:58Z Indexed on 2010/05/05 15:08 UTC
Read the original article Hit count: 188

I have this array:

Array
(
    [page] => Array
        (
            [0] => add
            [1] => edit
            [2] => delete
            [3] => search
        )

    [category] => Array
        (
            [0] => add
            [1] => edit
            [2] => export
        )
   )

And I want it to be displayed as a html table like this:

Page - Category
add - add
edit - edit
delete - export
search
search

I tryed in many ways but didn't work, any solutions?

Thank you

© Stack Overflow or respective owner

Related posts about array

Related posts about html