Changeset 17457 for schedule/Module


Ignore:
Timestamp:
01/04/14 08:20:41 (11 years ago)
Author:
tose
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/control.php

    r17456 r17457  
    318318//$counter=0;
    319319$prevtimestamp = 0;
    320 
    321         while($rows = mysql_fetch_array($fetch))
    322         {
    323                 $scheduleId = $rows['fScheduleID'];
    324                 $timestamp=strtotime($rows['fStart']);
     320while($times = mysql_fetch_array($observationsTime))
     321{
     322                $timestamp=strtotime($times['fStart']);
    325323                $timestamp2 = date('Y-m-d',$timestamp);
    326324                $date_time = date('H:i:s',$timestamp);
    327325                $prev_time[$cnt3]= $date_time;
     326
     327        while($rows = mysql_fetch_array($fetch))
     328        {
    328329                        ?>
    329330                        $('#save').attr('value','UPDATE');
     
    502503                $prevtimestamp = $timestamp;
    503504        }
    504 
     505}
    505506
    506507if(mysql_num_rows($fetch)<1)
Note: See TracChangeset for help on using the changeset viewer.