Changeset 17707
- Timestamp:
- 04/28/14 11:33:08 (11 years ago)
- Location:
- trunk/FACT++/www/schedule
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/schedule/load.php
r17701 r17707 54 54 query("SELECT DISTINCT(DATE(ADDTIME(fStart, '-12:00'))) AS 'd' FROM Schedule"); 55 55 query("SELECT fSourceKEY AS 'key', fSourceName AS 'val' FROM Source WHERE fSourceTypeKEY=1"); 56 query("SELECT fMeasurementKEY AS 'key', fMeasurement AS 'val' FROM measurement");56 query("SELECT fMeasurementKEY AS 'key', fMeasurement AS 'val' FROM Measurement"); 57 57 query("SELECT * FROM Schedule WHERE DATE(ADDTIME(fStart, '-12:00:00')) = '".$_POST['n']."'".$cut."ORDER BY fScheduleID ASC, fMeasurementID ASC"); 58 58 -
trunk/FACT++/www/schedule/save.php
r17705 r17707 139 139 die(mysql_error()); 140 140 141 $query = "SELECT * FROM measurement";141 $query = "SELECT * FROM Measurement"; 142 142 143 143 $sql = mysql_query($query); … … 206 206 $v = $row[3]; // value 207 207 208 // Check if task need source or must not have a source 208 209 if ($measurements[$m]['fNeedsSource']==true && $s==0) 209 210 die("Task '".$measurements[$m]['fMeasurement']."' needs source.\n[".$t."|".$id."]");
Note:
See TracChangeset
for help on using the changeset viewer.