Location: PHPKode > projects > Online Resource Management system > storms/user/user_remove_book_from_tray.php
<?php

/******************************************************
 *   File name: user_remove_book_from_tray.php
 *   Function: Remove book from request list
 *   maintained by: Raymond Lai
 *   last update: 29 Jan 2001
 *   Input: bookID
 *   Output: updated request list at the user's session
 *   Purpose: To remove a user selected book from the
 *            "shopping cart", i.e. the request list
 ******************************************************/

include("../includes/session_mysql.inc");

session_start();
session_register("book_request_items");

unset($book_request_items["$bookid"]);

header("Location: $HTTP_REFERER");
exit;

?>
Return current item: Online Resource Management system