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/queryseq.php

    r8180 r9498  
    1010                $groups++;
    1111
    12         $query0 = "SELECT ";
     12        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    1313
    1414        if ($groups>0)
     
    314314
    315315        $result0 = mysql_query($query0, $db_id);
     316        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    316317
    317318        if ($result0)
    318319        {
    319320            if ($html=="1")
    320                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     321                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    321322            else
    322323                PrintText($result0);
    323324
    324325            mysql_free_result($result0);
     326            mysql_free_result($result1);
    325327        }
    326328        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.