Hello
I am working on a search page. When you type the person's
name insted of displaying a listing I want to be redirectd to
the user information.
I am getting a warninig:
Warning: cannot modify header information - headers already
sent( at start of D:\search.php: 108) in d:\search_play. php on line 242
How can suggest a way I redirect or be automatically sent to a nother
page without using header()?
[Html]
//search.php is the html form
<form action="<php echo $SERVER['PHP_SELF'];?>" method = "post"> <!--line 108-->
[/html]
[php]
<?
//search_play.php process and display results
header("Locatio n:../user_info.php") ; //line 242
?>
[/php]
I am working on a search page. When you type the person's
name insted of displaying a listing I want to be redirectd to
the user information.
I am getting a warninig:
Warning: cannot modify header information - headers already
sent( at start of D:\search.php: 108) in d:\search_play. php on line 242
How can suggest a way I redirect or be automatically sent to a nother
page without using header()?
[Html]
//search.php is the html form
<form action="<php echo $SERVER['PHP_SELF'];?>" method = "post"> <!--line 108-->
[/html]
[php]
<?
//search_play.php process and display results
header("Locatio n:../user_info.php") ; //line 242
?>
[/php]
Comment