DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
Get last id in laravel
$last2
=
DB
::
table
(
'items'
)
->
orderBy
(
'id'
,
'DESC'
)
->
first
(
)
;
Source by www.itsolutionstuff.com #
PREVIOUS
NEXT
Tagged:
#Get
#id
#laravel
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit