Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/queryseq.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/queryseq.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) … … 314 314 315 315 $result0 = mysql_query($query0, $db_id); 316 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 316 317 317 318 if ($result0) 318 319 { 319 320 if ($html=="1") 320 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);321 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1); 321 322 else 322 323 PrintText($result0); 323 324 324 325 mysql_free_result($result0); 326 mysql_free_result($result1); 325 327 } 326 328 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.