<html>
<head>
</head>

<body>
<?php
        function show_array ($array) {
                if(!empty($array)) {
                foreach($array as $item) {
                        print "<pre>";
                        print_r($array);
                        print "</pre>";
                }
                }
        }
       
        // Usage
        // Let's say that you have some multy dimension array named $array and you want to
        // see what's inside that array you can use something like this
        show_array($array);

?>
</body>
</html>