Hi,
My products (records) are selected with a number of pages. Then I use
navigationbuttons like first | next | previous | last, to the next or the previous.
like
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, 0, $queryString_Recordset1); ?>">
<input name="faktura_datum" type="text" id="faktura_datum" value="<? echo $date; ?>" />
First</a></strong></span></span> | <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, max(0, $pageNum_Recordset1 - 1), $queryString_Recordset1); ?>">Previous</a>.....
How Can I go back to the previous page, after updating a record withe the Dream Weaver
"Update Record - Server Behavior" ?
$updateGoTo = "cms.php";
if (isset($_SERVER['QUERY_STRING'])) {
$updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
$updateGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $updateGoTo));
}
Now it jumps to the first page after updating and do I have to search to the
page where I was working on. I'm using PHP and MySql