I've been working on a website for a while, and everything has been working just fine. I went back in to rework some of the php code and comment the code I had written, etc. Did a little bit of work with the CSS statements.... blah blah blah.
When I load the page in my browser (without php backend) it loads as would be expected, the raw text data, and a little syntax intrusion by php snippets.
when I load the page on my server, i get a completely blank page. View Source as well, i completely blank. When I try to validate the file through w3c, I get only one error: NO DOCTYPE, NO CODE.
It makes very little sense to me, when i load the page in dreamweaver or text editor, i see plenty of code, as a matter of fact, i wrote it.
Here's just up to the <body> tag of my code:
<!-- DOCTYPE declaration - XHTML 1.1 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- BEGIN HEAD TAG -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<!--CREATES TITLE OF PAGE-->
<title>Piedmont College</title>
<!-- TURNS OFF ERROR REPORTING -->
<?php
error_reporting(0);
?>
<!-- OBTAINS AND DEFINES GLOBAL VALUES FOR ID AND LOC -->
<?php
$loc=$_GET['loc'];
$id=$_GET['id'];
define("demorest", "demorest");
define("athens", "athens");
?>
<!--LOADS SHORTCUT ICON-->
<link rel="SHORTCUT ICON" href="images/PC.gif">
<!--DETERMINES WHAT CSS DOC TO USE-->
<link rel="stylesheet" type="text/css" href="
<?php
if ($loc == athens) {
echo "styles/athens.css";
} else if ($loc == demorest) {
echo "styles/demorest.css";
} else {
echo "styles/default.css";
}
?>
">
</head>
<!-- END HEAD TAG -->
<!-- BEGIN BODY OF PAGE -->
<body>