Exemplo n.º 1
0
 function deleteRecords($provinceIDArray = "")
 {
     $province = new Province();
     $rows = 0;
     foreach ($provinceIDArray as $key => $value) {
         if ($province->deleteRecord($value)) {
             $rows++;
         }
     }
     return $rows;
 }