[UPHPU] Re: database query order
Jason Scherbel
jscherbel at jazzfanz.com
Tue Sep 5 16:19:26 MDT 2006
If the redirect is above some code that shouldn't execute, yes. I
always add it now, just a good habit. :)
~Jason
jtaber wrote:
> This is interesting. I wonder if it should be SOP to put an "exit()"
> after each header redirect.
>
> John
>
> Richard K Miller wrote:
>
>> I had tried this before, but the real solution was a PHP problem (not
>> MySQL.) I had one file redirecting to another with header("Location:
>> "), but I had forgotten to put an exit() after the header(). As soon
>> as I added exit(), the statements occurred in the correct order.
>>
>
>
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/438 - Release Date: 9/5/2006
More information about the UPHPU
mailing list