$value) { $requetefinalegroupings .= "\nUPDATE `mdl_enrol` SET `status`='0', `password`='".$value[1]."' WHERE `enrol`=\"self\" and `courseid`=".$value[0].";"; } echo "
".$requetefinalegroupings."

"; ?>