Posted By

mukeshdak on 07/25/11


Tagged

php button back mukeshdak


Versions (?)

Back_Button


 / Published in: PHP
 

URL: http://mukeshdak.facebook.com

Using this function, back button can be created.

  1. function back_button()
  2. {
  3. $url = htmlspecialchars($_SERVER['HTTP_REFERER']);
  4. if(!empty($url))
  5. {
  6. echo "<button title =".$url." onClick='history.go(-1);'>Back</button>";
  7. }
  8. }

Report this snippet  

You need to login to post a comment.