0

Getting last ID in database

How to use php to get the last Id in my database When it is a integer?

1st Mar 2019, 3:53 PM
Demetrivs Yixun
Demetrivs Yixun - avatar
2 odpowiedzi
+ 5
SELECT id FROM table DESC LIMIT 1
1st Mar 2019, 4:07 PM
Toni Isotalo
Toni Isotalo - avatar
0
Hi Toni, i will try to see if it works, thanks mate
1st Mar 2019, 4:34 PM
Demetrivs Yixun
Demetrivs Yixun - avatar