array_filter() should do it, the manual states that if you do not use a callback that it will
remove the value from the array, which should leave you with a list of valid slides.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )