Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/datacheck.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/datacheck.php
r9486 r9498 20 20 $enumgroups++; 21 21 22 $query0 = "SELECT ";22 $query0 = "SELECT SQL_CALC_FOUND_ROWS "; 23 23 24 24 if ($groups>0) … … 416 416 417 417 $result0 = mysql_query($query0, $db_id); 418 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 418 419 419 420 if ($result0) 420 421 { 421 422 if ($html=="1" || $html=="2") 422 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);423 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1); 423 424 else 424 425 PrintText($result0); 425 426 426 427 mysql_free_result($result0); 428 mysql_free_result($result1); 427 429 } 428 430 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.