Posted by David Haynes on 10/20/05 03:46
Raj wrote:
> Hi,
>
> The following script outputs 12345. It should go to intro_page.php after the
> 4 session variables have been populated. Can you see what I'm doing wrong?
>
> Many thanks,
>
> Raj (newbie)
Once you do any output, you cannot use the header() function and get it
to do what you expect. Calling header *must* be done *before* any other
output.
Try changing the print() to some form of debug logging instead if you
want to trace your code this way.
-david-
Navigation:
[Reply to this message]
|