php newbie question
php newbie question
Out of context: Reply #1
- Started
- Last post
- 5 Responses
- motivdesign0
Before you send any HTML to the browser, you'll need to use a header(); function in the form:
header('location: http://blahblah.com');
Also, I don't think this will work if you're using sessions to store variables, since the server can only send header information once and the session id requires a cookie header to be sent.
If nothing else, you could always spit out a javascript window.location redirect to the page in html once the mail is sent off.