Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $selectedcities=[]; if (IlluminateSupportFacadesInput::has('city')) {
- foreach (IlluminateSupportFacadesInput::get('city') as $c) {
- $selectedcities[] = $c;
- }}?>
- <!-- In Controller you can get --><?php $city = $request->city; //and use it in your query LIKE ?>
Add Comment
Please, Sign In to add comment