Hi All,
Newbie at validation,
I have been trying to work out what's wrong with the following Document type which is throwing errors on a number of pages.
Any ideas much appreciated
Hamish
"DOCTYPE" declaration not allowed in instance.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.orand
document type does not allow element "html" here.
<html xmlns="
http://www.w3.org/1999/xhtml">
from the following code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Up Date External Examiners</title>
<link href="Course_Buttons/UniStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center><h1> </h1>
<h1>Up Date External Examiners </h1>
<?php
ob_start();
include ("opendbincludeA.php");
$result=mysql_query("SELECT * FROM E_Examiner ORDER BY SName");
while ($rec = mysql_fetch_array($result))
{
echo("ID Number: " . $rec["ID_Number"] . "<br />");
echo("Name: " . $rec["Title"]. " " . $rec ["FirstName"] . " " .$rec["SName"]. " " ."<br />");
echo("email Address: " . $rec["emailAddress"] . "<br />");
echo("Te No: " . $rec["TelNo"] . "<br />");
echo("Company Name: " . $rec["CompanyName"] . "<br />");
echo("Address1: " . $rec["CStreet"] . "<br />");
echo("Address2: " . $rec["CArea"] . "<br />");
echo("Town: " . $rec["CTown"] . "<br />");
echo("County: " . $rec["CCounty"] . "<br />");
echo("Post Code: " . $rec["CPostCode"] . "<br />");
echo '
Update<hr />' ;
}
ob_end_flush();
?>
</center>
</body>
</html>