Jump to content

Header problem


shamsuljewel

Recommended Posts

A form pass two variable

a textarea and a radio

if anyone is empty the browser was redirect to the form again.

I am using

        if(($_post[text1]=="") || ($_post[func]==""))

{

header("Location: generic_form.htm");

exit;

}

but I found an error that is "Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\pra...."

Where is the problem?

can anyone help me?

thanks

 

Link to comment
https://forums.phpfreaks.com/topic/58685-header-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.