Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/index.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/index.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) … … 372 372 373 373 $result0 = mysql_query($query0, $db_id); 374 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 374 375 375 376 if ($result0) 376 377 { 377 378 if ($html=="1") 378 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);379 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1); 379 380 else 380 381 PrintText($result0); 381 382 382 383 mysql_free_result($result0); 384 mysql_free_result($result1); 383 385 } 384 386 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.