Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to use select query in Laravel?

user-image
Question added by Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited
Date Posted: 2017/09/28
Julfkar  Moh Umar
by Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited

$users = DB::select('select * from users where city_id = ?', 10); if(!empty($users)){ foreach($users as $user){ } }

More Questions Like This