[thelist] php/mysql update, then redirect

Steve Lewis slewis at macrovista.net
Fri May 3 19:46:01 CDT 2002


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





More information about the thelist mailing list