asolell
05-24-2003, 05:31 PM
In my update file I have the following code (it is a PHP file):
function do_redirect ( $url )
{
Header ( "Location: $url" );
exit;
}
echo"
<script>
parent.treeframe.window.location.reload()
</script>";
do_redirect ("ListInventoryItem.php");
I get error of "Already Sent Headers" - from the reload statement.
How can I do a reload and then do a redirect?
Thanks,
-Alon.
function do_redirect ( $url )
{
Header ( "Location: $url" );
exit;
}
echo"
<script>
parent.treeframe.window.location.reload()
</script>";
do_redirect ("ListInventoryItem.php");
I get error of "Already Sent Headers" - from the reload statement.
How can I do a reload and then do a redirect?
Thanks,
-Alon.