Support the ongoing development of Laravel.io →
Input Forms Testing
Last updated 2 years ago.
0

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

0

Ignore this thread - PLEASE DELETE FIXED

0

Sign in to participate in this thread!

Eventy

Your banner here too?

RabbitSC2 rabbitsc2 Joined 15 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.