";
unset($array_01);
$array_01 = sqlGetResAsArray("select * from all_well_date where WELL='".$wellArray[0]['WELL']."'");
for ($i=0; $i0)
{
unset($spmI1); unset($spmP); unset($spmp1); unset($spmp2); unset($spmTw); unset($spmU12); unset($spmV);
unset($spmHd); unset($spmHs); unset($spmQ);
for ($j=0; $j0)
{
$spmQ = round($spmQ*60,3);
mysql_query("INSERT INTO all_well_measurment SET WELL='".$wellArray[0]['WELL']."'
,DATE_TIME='".$array_01[$i]['DATE_TIME']."'
,WLM_I1='".$spmI1."'
,WLM_P='".$spmP."'
,WLM_p1='".$spmp1."'
,WLM_p2='".$spmp2."'
,WLM_Tw='".$spmTw."'
,WLM_U12='".$spmU12."'
,WLM_V='".$spmV."'
,WLM_Hd='".$spmHd."'
,WLM_Hs='".$spmHs."'
,WLM_Q='".$spmQ."'
");
echo"WstawiĆ Q= ".$spmQ."
";
}
}
}
mysql_query("UPDATE all_wells SET STATUS=1 WHERE WELL='".$wellArray[0]['WELL']."'");
mysql_close($con);
?>