Added php code to show amount of tries