Hi! inazrabuu,
this is the way i currently use and i think it will be useful to you.
i put this code at the top of the page.
<?php
function gotosearch($strletter,$strstart,$strsortorder){
header("Location: customersearch.php?letter=$strletter&start=$strstart&sortorder=$strsortorder",true); exit;
}
?>
and put this code after update code.
$ibol=gotosearch($curletter,$curpage,"asc");