How can I call another URL from my script?
If my form generates an error (because, say the user didn't enter their first name) -- I want to call my error page.
Thanks. Jason
just have it send this out:
header("Location: http://www.mysite/error.htm");
make sure that the script hasn't outputted anything before that line or you will end up with an error message.
or you can do that via javascript like this :
<script language="JavaScript"> window.location.href="yourpage.htm"; </script>
jacinthe