$ERROR_SELIAN_ITEM_NUMBER = TRUE;
         $ERROR = TRUE;
     }
     if ($GO_BACK_TO_SEARCH && !$ERROR) {
         header('Location: pharmacy_tz_search.php?keyword=' . $keyword . '&category=' . $item_classification);
     }
 }
 // end of if ($mode=="update")
 //------------------------------------------------------------------------------
 if ($mode == "delete") {
     if ($debug) {
         echo "current mode is DELETE!<br>";
     }
     if ($product_obj->item_number_exists($selian_item_number)) {
         // The item still exists in the database!
         $product_obj->delete_item($selian_item_number);
         $MSG .= "Item with code \"" . $selian_item_number . "\" is deleted now<br>";
     } else {
         // This is a new item
         // There is no item with such an item number in the database
         $ERROR_MSG .= "Something is wrong, the item code \"" . $selian_item_number . "\" is not available in the database! <br>";
         $ERROR_SELIAN_ITEM_NUMBER = TRUE;
         $ERROR = TRUE;
     }
     if ($GO_BACK_TO_SEARCH && !$ERROR) {
         header('Location: pharmacy_tz_search.php?keyword=' . $keyword . '&category=' . $item_classification);
     }
 }
 // end of if ($mode=="erase")
 //------------------------------------------------------------------------------
 if ($mode == "show") {