Example #1
0
 public function Delete()
 {
     global $obj, $model, $param1;
     include_once 'Model/loginhistory.php';
     $model = new Loginhistory();
     $model->Id = $param1;
     if ($model->Delete()) {
         print '<span class="success">Loginhistory Updated</span>';
     } else {
         print '<span class="error">' . $model->Error . '</span>';
     }
     include_once 'View/Loginhistory/index.php';
 }