(Resending to list since I made a mistake on the first Cc; sorry for
resultant screwiness.)
Quoth Hamish <
gno@...>, on 2007-05-15 10:53:01 -0700:
> The URL is
http://osiris.sunderland.ac.uk/~ca8gol/updateExternal.php>
> I have several pages that have the same error message, all use php to return
> the results of a query on a MySQL db.
Did you actually look at the source of the output page?
"""
<!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>
<!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>Connection</title>
</head>
<body>
</body>
</html>
"""
Notice how you have another DOCTYPE declaration and entire <html />
inside the original <body /> tag. Don't do that.
---> Drake Wilson