In codeingiter I have certain forms that when you submit it will then redirect back to the previous page using this.
redirect($_SERVER['HTTP_REFERER']);
I'm just wondering if there is a way to redirect back two steps for forms that have an actual page where they are editing information.