";
//echo $date->format('Y-m-d H:i:s');
//fdgdfgdf
$Time = explode(",",$Time);
$select = explode(",",$SelectedSource);
$measure = explode(",",$SelectedMeasure);
echo "
";
for($i=0;$i<=$limtex-1;$i++){
$n1 = $n_value[$i];
$select[$i];
$selectf = $select[$i];
$Timef = $Time[$i];
$dateTime=new DateTime($date." ".$Time[$i]);
echo $parsed_date = $dateTime->format('Y-m-d H:i:s');
$measuref = $measure[$i];
$insert = mysql_query("INSERT INTO schedule values('','$parsed_date','','','','$n1','$selectf','$measuref')") or die(mysql_error());
}
if($insert){
?>