05.01.2012, 18:50
Use this query:
Then use mysql_fetch_int to get the result.
Код:
SELECT `House ID` FROM `pf_houses` ORDER BY `House ID` DESC LIMIT 1;