Also just to add, in my controller i have this :
if ($filters['property_type'] == 'All') {
$property_type_array = array('House', 'Flat', 'Studio', 'Bungalow', 'Flat/House Share', 'Flat Share', 'House Share');
} else {
$property_type_array = array($filters['property_type']);
}
So if All is chosen, you can see it returns "'Flat/House Share', 'Flat Share', 'House Share'" as individual values
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community