$result = mysql_query("select (max(id) + 1) from tabloadi");