Below is foreach and the 3 dimension arrays, no problem with the looping but i cannot sepcify which array to echo, they must me the whole arrays like echo $subvalue, any better solutions with looping 3 dimension array?  i actually feel weird with this looping. Thanks in adv
foreach ($stories as $key => $story){
    //echo "<br />";
        foreach($story as $subkey => $subvalue){
            echo $subvalue."<br />";
                foreach($subvalue as $key => $subsubvalue){
                    echo $subsubvalue."<br />";
                }
        }
}
Array
(
    [270] => Array
        (
            [uid] => 36
            [user_email] => 
[email protected]
            [sid] => 270
            [story_name] => Story C
            [photo_url] => Array
                (
                    [0] => story_photos/2012/0322/361332381418153311.jpg
                    [1] => story_photos/2012/0322/361332393792911587.jpg
                )
            [photo_added_date] => Array
                (
                    [0] => 1332381418
                    [1] => 1332393792
                )
        )
    [269] => Array
        (
        [uid] => 36
        [user_email] => 
[email protected]
        [sid] => 269
        [story_name] => Story B
        [photo_url] => Array
            (
                [0] => story_photos/2012/0322/361332381406580761.jpg
            )
        [photo_added_date] => Array
            (
                [0] => 1332381406
            )
    )
[268] => Array
    (
        [uid] => 36
        [user_email] => 
[email protected]
        [sid] => 268
        [story_name] => Story A
        [photo_url] => Array
            (
                [0] => story_photos/2012/0322/361332381393552719.jpg
            )
        [photo_added_date] => Array
            (
                [0] => 1332381393
            )
    )
)