01-15-2012, 09:51 AM
I just quickly wrote this up in Dreamweaver for you:
PHP 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=utf-8" />
<meta name="description" content="Enter your description here." />
<meta name="keywords" content="Enter,some,tags,here" />
<meta name="author" content="Your Name Here" />
<title>Title Here</title>
<style type="text/css">
body {
color: red;
text-align: center;
font-weight: bold;
}
</style>
</head>
<body>
<?php
if(isset($_SESSION['views']))
$_SESSION['views']=$_SESSION['views']+1;
else
$_SESSION['views']=1;
echo "Views=". $_SESSION['views'];
?>
</body>
</html>