Laravel PHP Developer Question:
Download Job Interview Questions and Answers PDF
Tell me how To Use Select Query In Laravel?
Answer:
$users = DB::select('select * from users where city_id = ?', 10);
if(!empty($users)){
foreach($users as $user){
}
}
if(!empty($users)){
foreach($users as $user){
}
}
Download Laravel PHP Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain me what directories that need to be writable laravel installation? | Tell us do you have any experience with LAMP? |