After updating record, how do I go to next record?
After updating a record, I want it to take me to the next record.
I get that if I want to go to a particular page the code is:
$updateGoTo = "master_list.php";
if (isset($_SERVER['QUERY_STRING'])) {
$updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
$updateGoTo .= $_SERVER['QUERY_STRING'];
But since the entry I am updating is always changing (and there for the next entry as well) I am confused.
I thought it would be something like:
update_entry.php?beer_id%+1?
But no such luck.