$conecta = mysql_query("SELECT max(id) FROM teste");