Hi
I did actually find a solution to this at the link below:
http://phpbuilder.com/board/showthread.php?t=10249848&highlight=strip+array+empty+values
yet i can't seem to get it to work with the array i have. Using var_dump($array) i get the following:
array(4) {
[0]=> array(2)
{
[0]=> 1 [1]=> "dog"
}
[1]=> bool(false)
[2]=> bool(false)
[3]=> array(2)
{
[0]=> 2 [1]=> "cat"
}
}
Now i want to strip out $array[1] and $array[2] as they are giving me bool(false). I don't know much about bool(false) as using isset for the values in the array is returning as true! Does anyone know how i can strip out these two "empty" (bool(false)) values??
Any help is much appreciated!
Ant