Or with javascript:
<?
...
?>
<script language="JavaScript">
<!--
document.location =
'http://where.to.go.com/example.php?param1=<?=$param1?>';
//-->
</script>
<?
...
?>
PS: Sorry Mark...
Andy
Mark Kelly wrote:
On Tuesday 04 April 2006 22:27, Brady Mitchell wrote:
-----Original Message-----
In JSP I have access to a function called sendRedirect() to
send a user
from one page to another, usually after some processing completed. Is
there a similar function in PHP?
Take a look at the header() function.
http://php.net/header
To redirect you can use: header("Location: http://www.example.com/");
You can also use something like:
echo "<meta http-equiv=\"Refresh\" content=\"0;url=$from_page\">";
depending on your needs.
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php