DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel db insert get last id
$id = DB::table('users') ->insertGetId( ['name' => 'Akash Savani', 'email'=>'akash@gmail.com'] );
Source by www.itsolutionstuff.com #
PREVIOUS
NEXT
Tagged:
#laravel
#db
#insert
#id
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit