Ignore:
Timestamp:
08/20/09 14:43:59 (15 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/culminating.php

    r8792 r9498  
    1010                $groups++;
    1111
    12         $query0  = "SELECT ";
     12        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    1313
    1414        if ($groups>0)
     
    223223
    224224        $result0 = mysql_query($query0, $db_id);
     225        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    225226
    226227        if ($result0)
    227228        {
    228229            if ($html=="1")
    229                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     230                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    230231            else
    231232                PrintText($result0);
    232233
    233234            mysql_free_result($result0);
     235            mysql_free_result($result1);
    234236        }
    235237        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.