Not in the viewlist.php file. Here is the entire code:
<?php
include('general/header.inc');
require_once('general/general.php');
if (isset($GET['order'])) $myData->setOrderingInfo($GET['order']);
if (isset($GET['page'])) $myData->actPageNr = $GET['page'];
if (isset($POST['formdata'])) $myData->getWhereClause($POST['formdata']);
$maxRecord = 10;
$sqlbase = "SELECT FROM members ".$myData->whereStr.$myData->getOrderString();
$sql = $sqlbase."LIMIT ".(($myData->actPageNr-1)$maxRecord).",".$maxRecord;
$Result = $MyDb->f_ExecuteSql($sql);
$ResultRowNr = $MyDb->f_GetSelectedRows($Result);
$ResultTotalRow = $MyDb->f_ExecuteSql($sqlbase);
$totalRows = $MyDb->f_GetSelectedRows($ResultTotalRow);
?>
However, in the header.inc file there is :
<?php
session_start();
include('usersession.php');
include('db/db_connection.php');
if (!isset($SESSION['usr']))
{
$myData = new usersession();
}
else
{
$myData = unserialize($SESSION['usr']);
}
?>
Should this statement in usersession.php be empty?
var $whereStr=' ';
I notice I do have trouble if I call the page three or 4 attempts. Then I have to close my browser and re-open it. Everything comes back.