Mysqli dernière rangée

SELECT id FROM table ORDER BY id DESC LIMIT 1;
Clean Chimpanzee