cannot seem to use both include nad header functions togethe
Posted: Fri Jan 07, 2005 2:34 am
Hi all;
This is a real basic one; the problem seems to be that I cannot use the include and header function together.
When I use the header function to send my clients to the page called main.php (by the way main.php has three include files and one of them which is a variable defined from the page before) I get the following error:
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\respondnow\main.php:8) in C:\Program Files\Apache Group\Apache2\htdocs\respondnow\editevent.php on line 56
Now i know that Im getting this error because of the include and header items being used together I just cant seem to sort it out or find some other information regarding how to fix or work around it.?????
THanks all, any help is appreciated.
This is a real basic one; the problem seems to be that I cannot use the include and header function together.
When I use the header function to send my clients to the page called main.php (by the way main.php has three include files and one of them which is a variable defined from the page before) I get the following error:
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\respondnow\main.php:8) in C:\Program Files\Apache Group\Apache2\htdocs\respondnow\editevent.php on line 56
Now i know that Im getting this error because of the include and header items being used together I just cant seem to sort it out or find some other information regarding how to fix or work around it.?????
THanks all, any help is appreciated.