I wrote this code, the get function works as it echos the value of it on the screen. But after this i want the page to header to another page (page.php). I cant fiqure out why it doesnt send the user to page.php, ive used headers before which worked.
This is the error it says: Warning: Cannot modify header information - headers already sent by (output started at /home/sites/fatfrogip.com/public_html/yellow.php:6) in /home/sites/fatfrogip.com/public_html/yellow.php on line 29
This is the code: why doesnt it header on.?
$story = $_GET['story'];
echo "$story
";
if( $story = page.php )
{
header("location:page.php");
exit();
}
?>
2006-10-11
07:20:14
·
5 answers
·
asked by
peter s
1
in
Computers & Internet
➔ Programming & Design