Changeset 9498 for trunk/MagicSoft/Mars/datacenter/db/opticaldata.php
- Timestamp:
- 08/20/09 14:43:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/opticaldata.php
r8235 r9498 10 10 $groups++; 11 11 12 $query0 = "SELECT ";12 $query0 = "SELECT SQL_CALC_FOUND_ROWS "; 13 13 14 14 if ($groups>0) … … 247 247 248 248 $result0 = mysql_query($query0, $db_id); 249 $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id); 249 250 250 251 if ($result0) 251 252 { 252 253 if ($html=="1") 253 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);254 PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1); 254 255 else 255 256 PrintText($result0); 256 257 257 258 mysql_free_result($result0); 259 mysql_free_result($result1); 258 260 } 259 261 mysql_close($db_id);
Note:
See TracChangeset
for help on using the changeset viewer.