Print array elements recursively

3 thoughts on “Print array elements recursively”

  1. [code]
    এইটা দিয়া হয় না ?
    $array = array(
    array(141,151,161),
    2,
    3,
    array(101, 202, 303),
    "php",
    "5"
    );
    print_r($array);
    [/code]

      1. ভাই বুঝি নাই। চ্যাটে বুঝাই দিয়েন। আমার ওইটার আউটপুট আসে,

        Array
        (
        [0] => Array
        (
        [0] => 141
        [1] => 151
        [2] => 161
        )

        [1] => 2
        [2] => 3
        [3] => Array
        (
        [0] => 101
        [1] => 202
        [2] => 303
        )

        [4] => php
        [5] => 5
        )

Leave a Reply

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