stu7398 Posted September 16, 2007 Share Posted September 16, 2007 i have a link called 'return to last page' what code do i use so when i click the link it returns me to the last page i was on. Link to comment https://forums.phpfreaks.com/topic/69609-how-do-i-do-this/ Share on other sites More sharing options...
pocobueno1388 Posted September 17, 2007 Share Posted September 17, 2007 Well, you could use javascript. <a href="javascript:history.go(-1)">Go back</a> Link to comment https://forums.phpfreaks.com/topic/69609-how-do-i-do-this/#findComment-349795 Share on other sites More sharing options...
teng84 Posted September 17, 2007 Share Posted September 17, 2007 or maybe you can try this one $_SERVER['HTTP_REFERER'] Link to comment https://forums.phpfreaks.com/topic/69609-how-do-i-do-this/#findComment-349801 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.