1.

How To Use Insert Statement In Laravel?

Answer»

DB::insert('insert into users (ID, name, city_id) VALUES (?, ?)', [1, 'Web technology',10]);

DB::insert('insert into users (id, name, city_id) values (?, ?)', [1, 'Web technology',10]);



Discussion

No Comment Found