Steve! Steve! That was it - ok one more time kudos to the list! I had spent a day looking for this!! Thanks a lot! <tip> for php/mysql beginners: Always make sure your include file does not include any blank lines after the closing tag. This will generate output, which may cause problems later on (e.g. when you are redirecting with a header function!) </tip> -----Original Message----- From: Steve Lewis [mailto:slewis at macrovista.net] Sent: Friday, May 03, 2002 20:50 To: thelist at lists.evolt.org Subject: Re: [thelist] php/mysql update, then redirect John Corry wrote: >I'll bet what you're including before header() is outputting >something...that would break it the way you've described. > >jpc > A common mistake is to have BLANK LINES after your ?> tag in the included file as below: --begin included file <?PHP // do database definition here ?> --- end file This is easy to do, but easy to fix. Delete the blank line at the end of the file, and there will be no "output" in this include. --Steve -- For unsubscribe and other options, including the Tip Harvester and archive of thelist go to: http://lists.evolt.org Workers of the Web, evolt !