Guest User

Untitled

a guest
Apr 24th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <?php $selectedcities=[]; if (IlluminateSupportFacadesInput::has('city')) {
  2. foreach (IlluminateSupportFacadesInput::get('city') as $c) {
  3. $selectedcities[] = $c;
  4. }}?>
  5.  
  6. <!-- In Controller you can get --><?php $city = $request->city; //and use it in your query LIKE ?>
Add Comment
Please, Sign In to add comment