macromedia.dreamweaver.appdev
[Top] [All Lists]

Re: Insert Recordset - Redirect Url not working - PHP

Subject: Re: Insert Recordset - Redirect Url not working - PHP
From: David Powers
Date: Tue, 21 Aug 2007 14:51:54 +0100
Newsgroups: macromedia.dreamweaver.appdev


casey_g wrote:
Thank you, David, for the quick reply. Unfortunately, the insert record page 
still doesn't jump to the confirmation page, even with the full URL.

At a guess, then, you probably have display_errors turned off, which is preventing the display of a "headers already sent" error message. If there is any output to the browser before header(), the page cannot be redirected. This is caused by space in front of the opening PHP tag, or new lines at the bottom of any include files, such as the Connection file.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

<Prev in Thread] Current Thread [Next in Thread>