Laravel PHP Developer Question:
Tell us how To Use Update Statement In Laravel?
Answer:
DB::update('update users set city_id = 10 where id = ?', [1015]);
Previous Question | Next Question |
Do you know what is HTTP middleware? | Can you please explain the difference between Laravel and Codeigniter? |