Does anyone know how to prevent my passed variables from an input page to a results page from being refreshed when the table results are requested to show the next ten results using navigation code.
The base problem is the next button uses $_SERVER['php_self'];
The posted variable are tring to also get new variables and there are none to get. This causes undeclared variables.
How can I keep the values? Here is the start of the code:
<?PHP
$StartDate = $_POST['YearStart'] . "-" . $_POST['MonthStart'] . "-" . $_POST['DayStart'];
$EndDate = $_POST['YearEnd'] . "-" . $_POST['MonthEnd'] . "-" . $_POST['DayEnd'];
$sensors = $_POST['SensorList'];
$maxRows_RequestData = 10;
$pageNum_RequestData = 0;
$currentPage = $_SERVER['PHP_SELF'];
?>
The navigation calls the $currentPage variable.
Any Ideas? Thanks.