-
SitePoint Enthusiast
cleaning out a directory
Another easy one, but I'm learning:
This is my array:
PHP Code:
print_r ($the_array);
and it outputs:
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks