mysqli baris terakhir

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