Linked Questions

Popular Questions

Can i print multidimensional arrays in php

Asked by At

I have an array in below format

(
[Albania] => Array
    (
        [0] => stdClass Object
            (
                [name] => Margaret Ramirez
                [date_of_birthday] => 24-Mar-1997
                [email] => [email protected]
                [department] => Engineering
            )

    )

[Argentina] => Array
    (
        [0] => stdClass Object
            (
                [name] => Samuel Fisher
                [date_of_birthday] => 16-Jan-1955
                [email] => [email protected]
                [department] => Sales
            )

    )

[Azerbaijan] => Array
    (
        [0] => stdClass Object
            (
                [name] => Jason Mccoy
                [date_of_birthday] => 11-Nov-2001
                [email] => [email protected]
                [department] => Research and Development
            )

    )

I want to get output from that array as below format enter image description here

Can anyone please help me regarding this problem. thanks

Related Questions