You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
display_error("This room has active reservations that must be completed, cancelled or rescheduled before the room can be deleted.",$active_reservations);
}
else
{
$db->update("study_rooms","active","0","id like '$room_id'",$room_id,"Room deleted");
// TODO: check result to make sure the update was successful
print("<h3>Room $room->room_number has been successfully deleted.</h3>\n");