Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/queryrbk.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/queryrbk.php
r9184 r9498 50 50 mysql_select_db($db); 51 51 52 $query0 = "SELECT fRunBookDate AS Date, fRunBookText AS Entry ";52 $query0 = "SELECT SQL_CALC_FOUND_ROWS fRunBookDate AS Date, fRunBookText AS Entry "; 53 53 $query0 .= "FROM " . $db . ".RunBook "; 54 54 $query0 .= "WHERE fRunBookDate REGEXP '^" . $_GET["fDate"] . "' "; … … 63 63 64 64 $result0 = mysql_query($query0, $db_id); 65 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 65 66 66 67 if ($result0) … … 76 77 ( 77 78 ); 78 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);79 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1); 79 80 } 80 81 else … … 82 83 83 84 mysql_free_result($result0); 85 mysql_free_result($result1); 84 86 } 85 87 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.