donthedragon Posted January 15, 2011 Share Posted January 15, 2011 Hi. I have a database driven site. It lists various venues. The venues are divided up in to different areas that they occur in. Eg: page1=USA, page2=Canada etc. I went to the USA page, it would list venues in the USA with with a short description on the venue and a "read more" link going to a venue page. All the different areas share the same venue page. My problem is : I have a back button to go back to the area page. What code can I put into the back button to get it to go to the area page that I was on previously. Thanks Donovan Link to comment https://forums.phpfreaks.com/topic/224514-back-button-to-previous-page/ Share on other sites More sharing options...
Porl123 Posted January 15, 2011 Share Posted January 15, 2011 <a href="javascript:history.go(-1);">Previous</a> ? D: Link to comment https://forums.phpfreaks.com/topic/224514-back-button-to-previous-page/#findComment-1159720 Share on other sites More sharing options...
donthedragon Posted January 16, 2011 Author Share Posted January 16, 2011 Thank you very much. Ill give it a go now. Cheers Link to comment https://forums.phpfreaks.com/topic/224514-back-button-to-previous-page/#findComment-1160168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.