I tried the in_array command like you said, now I get this error...
Wrong datatype for second argument in call to in_array in /users/iwebland.com/lotzacash/sweeps.php
$cat is defined using this code...
$cat = unserialize(urldecode($row['catagory']));
$row is called as a row from a mysql table
I attached the whole file if anyone would like more clearity as to what I am tring to do.
Also, Is there a way to display all the data in a array without calling each possible cell?