Guest User

Untitled

a guest
Dec 11th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. $_SESSION['insert'] = "Record inserted into the database";
  2. session_regenerate_id();
  3. session_write_close();
  4. echo '...succesfully add new book...';
  5. header("Location: index.php");
  6. exit();
  7.  
  8. <?php if(isset($_SESSION['insert'])){
  9. ?>
  10. <p class="update"><?php echo $_SESSION['insert'];?></p>
  11. <?php
  12. }//end of isset $_SESSION['insert']
  13. ?>
Add Comment
Please, Sign In to add comment