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

    r8180 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)
     
    160160
    161161        $result0 = mysql_query($query0, $db_id);
     162        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    162163
    163164        if ($result0)
    164165        {
    165166            if ($html=="1")
    166                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     167                PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $result1);
    167168            else
    168169                PrintText($result0);
    169170
    170171            mysql_free_result($result0);
     172            mysql_free_result($result1);
    171173        }
    172174        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.