exerciseList)) { $question->delete(1); } echo 'Deleting question '.$counter.'/'.$totalQuestions.' - #'.$row['iid'].PHP_EOL; $counter++; }