Fw: [PHP] question about Location

2002-09-06 Thread Meltem Demirkus
I tried , but it is giving this error: Warning: Cannot add header information - headers already sent by (output started at C:\FoxServ\www\debugger\project_module\project_update_.php:2) in C:\FoxServ\www\debugger\project_module\project_update_.php on line 37 the line 2 is ? include

Re: Fw: [PHP] question about Location

2002-09-06 Thread Marek Kilimajer
Put your code that takes care of the post before the line 2, output the header and exit. Like this ? if($_POST['submit']) { do what needs to be done header(Location: nextpage.php); exit; } include start_html.php Meltem Demirkus wrote: I tried , but it is

Re: Fw: [PHP] question about Location

2002-09-06 Thread adrian murphy
make sure there is no whitespace before first ? - Original Message - From: Marek Kilimajer [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Friday, September 06, 2002 11:34 AM Subject: Re: Fw: [PHP] question about Location Put your code that takes care of the post before the line 2

Fw: [PHP] question about Location

2002-09-06 Thread Meltem Demirkus
ok thans , I am trying meltem Meltem Demirkus wrote: I tried , but it is giving this error: Warning: Cannot add header information - headers already sent by (output started at C:\FoxServ\www\debugger\project_module\project_update_.php:2) in