DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel insert with id
$id
=
DB
::
table
(
'users'
)
->
insertGetId
(
[
'email'
=>
'john@example.com'
,
'votes'
=>
0
]
)
;
PREVIOUS
NEXT
Tagged:
#laravel
#insert
#id
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit