getBrandByID($brand_id); $item->approved = 1; $brandService->updateBrand($item); } } else { echo $_SERVER['REQUEST_METHOD']; } header('location:brands.php'); ?>