Google is your friend, lucky for you i am too 😉
<meta http-equiv="refresh" content="0;url=/the/url/too/you/page/">
This will direct the page too the specified URL within 0 seconds
EDIT: I just noticed that the redirect is in the middle of the document and since <meta> should be in <head> that's a no go.
What i would do is to put as much php as i could in the begining of the document.
So try to put
<?php
// Check if button name "Submit" is active, do this
if($Submit){
for($i=0;$i<$count;$i++){
$sql1="UPDATE $tbl_name SET ADate='$adate[$i]', ATime='$atime[$i]', APNO='$apno[$i]' WHERE AENO='$aeno[$i]'";
$result1=mysql_query($sql1);
}
}
if($result1){
header("location:update_multiple.php");
}
mysql_close();
?>
in the begining, before <head></head>