php for track and view miles, also updated deleteTeam to mysqli