Mysqli Last Linha

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