mysqli last row
snippet in sql

mysqli last row

user4073

SELECT id FROM table ORDER BY id DESC LIMIT 1;