I have a file, manage.php, which contains php code, as depicted below.
Other files are working fine on the same PC and same server (I use WAMP). And the code is working correctly interacting with MySQL databases for a login mechanism on another page...
For some reason the code is not rendered in either FF or Chrome. In chrome, as you can see, the code gets commented out by html comment blocks and nothing prints or is read, etc. I did not write the code like that in my text editor.
I am frustrated. Any ideas?
http://captainscall.site11.com/temp_stuff/why-php.PNG
Here is the full script for manage.php:
<?php
/*
/admin/index.php
admin area for Neos Massage
Made by Douglas Franz, freelance PHP/MySQL/HTML/CSS/JS/jQuery-ist.
*/
session_start();
include('models/auth.php');
include('includes/database.php');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Neos Massage Admin Area</title>
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="css/admin.css" />
</head>
<body>
<div id="admin_header">
<img src="../images/header-background-restored-flower-no-color.png" style="vertical-align: top;"/>
<span><b>Admin Area</b><br /><?php if (isset($_SESSION['uName'])) { echo $_SESSION['uName']; } ?></span>
<div id="border">
<img src="../images/border.png" width="100%" height="20"/>
</div>
</div>
<div id="admin_content">
<h1 style="color: #402d11;">Neos Massage - Manage</h1>
<hr />
<a href="index.php?logout">logout</a>
<br />
<?php var_dump($_SESSION); echo "this is a test"; ?>
<?php print "this is a test"; ?>
</div>
</body>
</html>
supposed to be
? – Jim Feb 26 '13 at 20:52