Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/querystar.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/querystar.php
r8180 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) … … 160 160 161 161 $result0 = mysql_query($query0, $db_id); 162 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 162 163 163 164 if ($result0) 164 165 { 165 166 if ($html=="1") 166 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $ _GET);167 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $result1); 167 168 else 168 169 PrintText($result0); 169 170 170 171 mysql_free_result($result0); 172 mysql_free_result($result1); 171 173 } 172 174 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.