i dont' know if there is anything i can do about this...i hope there is...
i have two frames...when i submit data on the right frame i need the left frame to reload as well as have the right frame move to a new page...i'm actually passing some javascript (unless anybody knows of a way to do this without it)...to get the frames to do their things...the code...
if ($update) {
$result = mysql_query ("UPDATE users SET ID='$ID',name='$name' WHERE ID='$ID'") or die ("Problems 1b!");
?>
<SCRIPT language="JavaScript">
parent.mainright.location.href='users.php?q=ok&p=1&ID=$ID';
parent.mainleft.location.href='menu.php?m=5';
</SCRIPT>
<? }
the problem: on the right frame, the frame where the submit button lives, after i submit it comes back to the exact same page, but only for a second...and then the javascript kicks in and does it's thing putting it to the correct place...
it's logical...whenever you submit a page and it has some kind of error or doesn't have a header, it comes back to the same place...
anybody have this problem before? is there a different way i might try doing this?
thanks...vaska