getFrameByID($frame_id); $item->approved = 1; $frameService->updateFrame($item); } } else { echo $_SERVER['REQUEST_METHOD']; } header('location:frames.php'); ?>