I always get a 500 Internal Server Error for my page and when I look in the error file i get this
[Wed Jul 25 23:21:37 2001] [error] [client 127.0.0.1] Premature end of script headers: c:/php/php.exe
Can someone tell me what this means and why is this doing this?? My code is below
<?php
require_once("db_conn.inc");
if ($action=="yes")
{
$query = "UPDATE links SET links_permission = 'Y' WHERE links_id = '$id'";
}
elseif ($action=="no")
{
$query = "DELETE * FROM links WHERE links_id = '$id'";
}
elseif (!$action)
{
die ("No Action Given");
}
$result = mysql_query($query,$link_id);
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><head><title>Track Runners - The Internet Roller Coaster Directory</title></head><body bgcolor=\"#CCCC66\"><center><h3>Approval >>";
echo "$account </h3>";
echo "<form><input type=\"button\" name=\"button\" value=\"Close Window\" style=\"background-color:#ffffff;color:#000000;font-family:arial;font-size:9pt;\" onClick=\"javascript:window.close\"></form>"
echo "</center></body>";
?>