Changeset 16013
- Timestamp:
- 05/22/13 14:56:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/function/function.php
r15995 r16013 16 16 var fullday2=day2+'-'+month2+'-'+year2; 17 17 18 18 19 <?php 20 21 22 23 $cntsource=mysql_query("SELECT COUNT(*) as `SourceID` FROM source"); 24 $rowcnt=mysql_fetch_array($cntsource); 25 $Total= $rowcnt['SourceID']; 26 ?> 27 $('#save').click(function(){ 28 var InputValue = []; 29 var selectedSource = []; 30 var selectedTime = []; 31 var selectedMeasurement = []; 32 var Time; 33 var Source; 34 var measure; 35 var value; 36 37 <?php 19 38 if($_GET['day'] || $_GET['month'] || $_GET['year']){ 20 39 … … 40 59 var fullday=day+'-'+month+'-'+year; 41 60 <?php } ?> 42 <?php 43 44 45 46 $cntsource=mysql_query("SELECT COUNT(*) as `SourceID` FROM source"); 47 $rowcnt=mysql_fetch_array($cntsource); 48 $Total= $rowcnt['SourceID']; 49 ?> 50 $('#save').click(function(){ 51 var InputValue = []; 52 var selectedSource = []; 53 var selectedTime = []; 54 var selectedMeasurement = []; 55 var Time; 56 var Source; 57 var measure; 58 var value; 61 62 59 63 for(var i=1;i<<?php echo $Total; ?>;i++) 60 64 {
Note:
See TracChangeset
for help on using the changeset viewer.