barkster Posted January 10, 2006 Share Posted January 10, 2006 This is probably so easy but how do I create a back button to go to the previous page in php? Thanks Link to comment https://forums.phpfreaks.com/topic/3176-back-button/ Share on other sites More sharing options...
moberemk Posted January 11, 2006 Share Posted January 11, 2006 You actually do it in Javascript. <input type="button" value="Back" onclick="history.back()"> Link to comment https://forums.phpfreaks.com/topic/3176-back-button/#findComment-10805 Share on other sites More sharing options...
barkster Posted January 11, 2006 Author Share Posted January 11, 2006 Thanks, I'll try that, is there a way to do it with a text link also? Link to comment https://forums.phpfreaks.com/topic/3176-back-button/#findComment-10811 Share on other sites More sharing options...
moberemk Posted January 11, 2006 Share Posted January 11, 2006 <a href="linkhere" onclick="history.back()">Back</link> Link to comment https://forums.phpfreaks.com/topic/3176-back-button/#findComment-10813 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.