Another easy one, but I'm learning:
This is my array:
and it outputs:PHP Code:print_r ($the_array);
Array ( [0] => bya_img.inc.php [1] => captions.inc.php [2] => pic1.jpg [3] => pic2.jpg [4] => pic3.jpg [5] => pic4.jpg [6] => pic5.jpg [7] => pic6.jpg [8] => pic7.jpg [9] => Thumbs.db )
How can i clean out the array so there's only the images (jpg)?
thanks




If you want spaces in between, or linebreaks, just add those right after the echo '$v' part.

Bookmarks