I have posted a very simple html page on my site just to test out php capabilites here is the code.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>bannertest</title><link rel="stylesheet" href="bannertest.css" type="text/css"></head><body>
<div id="wrapper">
<div id="content">
<h1>My Little Title</h1>
<h2>sub title, also at default size</h2>
<p>lots of real content stuff</p>
<!--p echo $_SERVER['HTTP_USER_AGENT']--></div>
</div>
<p> </p>
</body></html>
I used <?php echo$_SERVER['HTTP_USER_AGENT']; ?> As you can see somehow the code was changed. And nothing is being displayed by the php line. Can someone help me with this?