- Timestamp:
- 01/04/14 09:26:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/control.php
r17472 r17473 321 321 { 322 322 $timestamp=strtotime($times['fStart']); 323 $actualtime = $times['fStart'];323 $actualtime = ($times['fStart'])->format('Y-m-d H:i:s'); 324 324 $timestamp2 = date('Y-m-d',$timestamp); 325 325 $date_time = date('H:i:s',$timestamp); … … 376 376 ); 377 377 378 var count = 0;379 378 <?php 380 379 381 $observations = mysql_query("SELECT * FROM schedule WHERE fStart = ' 2014-01-21 19:00:00'");380 $observations = mysql_query("SELECT * FROM schedule WHERE fStart = '$actualtime'"); 382 381 383 382 while($rows = mysql_fetch_array($observations)) 384 383 { 385 384 ?> 386 alert("new observation shed");387 388 385 var newtr<?php echo $cnt; ?> = document.createElement("tr"); 389 386 newtr<?php echo $cnt; ?>.setAttribute('class','tr');
Note:
See TracChangeset
for help on using the changeset viewer.