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

    r9184 r9498  
    5050        mysql_select_db($db);
    5151
    52         $query0  = "SELECT fRunBookDate AS Date, fRunBookText AS Entry ";
     52        $query0  = "SELECT SQL_CALC_FOUND_ROWS fRunBookDate AS Date, fRunBookText AS Entry ";
    5353        $query0 .= "FROM " . $db . ".RunBook ";
    5454        $query0 .= "WHERE fRunBookDate REGEXP '^" . $_GET["fDate"] . "' ";
     
    6363
    6464        $result0 = mysql_query($query0, $db_id);
     65        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    6566
    6667        if ($result0)
     
    7677                (
    7778                );
    78                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     79                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    7980            }
    8081            else
     
    8283
    8384            mysql_free_result($result0);
     85            mysql_free_result($result1);
    8486        }
    8587        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.