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

    r8512 r9498  
    33    function CreateQuery($_GET, $alias, $checkwhere)
    44    {
    5         $query0 = "SELECT fSequenceFirst as 'Sequence#' ";
     5        $query0 = "SELECT SQL_CALC_FOUND_ROWS fSequenceFirst as 'Sequence#' ";
    66
    77        foreach ($_GET as $key => $element)
     
    217217
    218218        $result0 = mysql_query($query0, $db_id);
     219        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    219220
    220221        if ($result0)
    221222        {
    222223            if ($html=="1")
    223                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     224                PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $result1);
    224225            else
    225226                PrintText($result0);
    226227
    227228            mysql_free_result($result0);
     229            mysql_free_result($result1);
    228230        }
    229231        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.