Exemple #1
0
 function deleteRecords($machineriesIDArray = "")
 {
     $machineries = new Machineries();
     $rows = 0;
     foreach ($machineriesIDArray as $key => $value) {
         if ($machineries->deleteRecord($value)) {
             $rows++;
         }
     }
     return $rows;
 }