add back button in php code example Example: button back php <button onclick="history.go(-1);">Back </button>