Skip to content

How to create multidimensional array in PHP?

Array
(
    [klaussen] => Array
        (
            [physics] => 85
            [maths] => 78
            [chemistry] => 89
        )

    [morkel] => Array
        (
            [physics] => 68
            [maths] => 73
            [chemistry] => 79
        )

    [styen] => Array
        (
            [physics] => 62
            [maths] => 67
            [chemistry] => 92
        )

)
See also  Python code snippet - How to redirect in django rest framework?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.