Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/findoffdata.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/findoffdata.php
r9486 r9498 15 15 $statusgroups++; 16 16 17 $query0 = "SELECT ";17 $query0 = "SELECT SQL_CALC_FOUND_ROWS "; 18 18 19 19 if ($groups>0) … … 409 409 410 410 $result0 = mysql_query($query0, $db_id); 411 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 411 412 412 413 if ($result0) 413 414 { 414 415 if ($html=="1" || $html=="2") 415 PrintMagicTable($result0, $alias, $rightalign, $limitsmean, $limitsmin, $limitsmax, "", $_GET);416 PrintMagicTable($result0, $alias, $rightalign, $limitsmean, $limitsmin, $limitsmax, $result1); 416 417 else 417 418 PrintText($result0); 418 419 419 420 mysql_free_result($result0); 421 mysql_free_result($result1); 420 422 } 421 423 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.