Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/querycal.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/querycal.php
r8512 r9498 3 3 function CreateQuery($_GET, $alias, $checkwhere) 4 4 { 5 $query0 = "SELECT fSequenceFirst as 'Sequence#' ";5 $query0 = "SELECT SQL_CALC_FOUND_ROWS fSequenceFirst as 'Sequence#' "; 6 6 7 7 foreach ($_GET as $key => $element) … … 217 217 218 218 $result0 = mysql_query($query0, $db_id); 219 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 219 220 220 221 if ($result0) 221 222 { 222 223 if ($html=="1") 223 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $ _GET);224 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $result1); 224 225 else 225 226 PrintText($result0); 226 227 227 228 mysql_free_result($result0); 229 mysql_free_result($result1); 228 230 } 229 231 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.