Changeset 7548 for trunk/MagicSoft/Mars/datacenter/db/queryrbk.php
- Timestamp:
- 02/28/06 21:24:09 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/queryrbk.php
r7546 r7548 19 19 ini_set("mysql.trace_mode", "Off"); 20 20 ini_set("display_errors", "Off"); 21 22 printf("Night (yyyy-mm-dd) <input name=\"fNight\" type=\"text\" size=\"10\" maxlength=\"10\" value=\""); 23 printf("%s\"> \n", $_GET["fNight"]); 21 24 22 25 printf("<input class='Width' type='submit' value='Query Table'> \n"); … … 48 51 if (!empty($_GET["fRegexp"])) 49 52 $query0 .= "AND fRunBookText REGEXP '" . $_GET["fRegexp"] . "' "; 53 54 if (!empty($_GET["fNight"])) 55 $query0 .= "AND fRunBookDate < '" . $_GET["fNight"] . " 13:00:00' AND fRunBookDate > ADDDATE( '" . $_GET["fNight"] . " 13:00:00', INTERVAL -1 DAY) "; 50 56 51 57 $query0 .= "ORDER BY fRunBookDate";
Note:
See TracChangeset
for help on using the changeset viewer.