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 Quote Link to comment 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()"> Quote Link to comment 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? Quote Link to comment 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> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.