Page 1 of 1

selective redirect

Posted: Tue Dec 06, 2011 2:43 pm
by cmdo
Hello,
What I'm trying to do is the following:

If I visit team.php from index.php and when I click "back page" it takes me to index.php

If I visit team.php from home.php and when I click "back page" it takes me to home.php


Is there a way to do this?

Re: selective redirect

Posted: Tue Dec 06, 2011 3:01 pm
by maxx99
Isn't it already working like this?

Re: selective redirect

Posted: Tue Dec 06, 2011 3:29 pm
by cmdo
I have no idea how to do this :s

Re: selective redirect

Posted: Wed Dec 07, 2011 2:32 am
by maxx99

Code: Select all

<form>
 <input type="button" value="back page" 
 onClick="javascript: history.go(-1)">
 </form>
Is this what you wanted?