Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/culminating.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/culminating.php
r8792 r9498 10 10 $groups++; 11 11 12 $query0 = "SELECT";12 $query0 = "SELECT SQL_CALC_FOUND_ROWS "; 13 13 14 14 if ($groups>0) … … 223 223 224 224 $result0 = mysql_query($query0, $db_id); 225 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 225 226 226 227 if ($result0) 227 228 { 228 229 if ($html=="1") 229 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);230 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1); 230 231 else 231 232 PrintText($result0); 232 233 233 234 mysql_free_result($result0); 235 mysql_free_result($result1); 234 236 } 235 237 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.