Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/querymc.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/querymc.php
r8180 r9498 10 10 $groups++; 11 11 12 $query0 = "SELECT ";12 $query0 = "SELECT SQL_CALC_FOUND_ROWS "; 13 13 14 14 if ($groups>0) … … 239 239 240 240 $result0 = mysql_query($query0, $db_id); 241 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 241 242 242 243 if ($result0) 243 244 { 244 245 if ($html=="1") 245 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);246 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1); 246 247 else 247 248 PrintText($result0); 248 249 249 250 mysql_free_result($result0); 251 mysql_free_result($result1); 250 252 } 251 253 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.