Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I Need Help In PHP Commands
#5
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 {
    
colorred;
text-aligncenter;
font-weightbold;
}
</
style>
</
head>

<
body>
<?
php
if(isset($_SESSION['views']))
$_SESSION['views']=$_SESSION['views']+1;
else
$_SESSION['views']=1;
echo 
"Views="$_SESSION['views']; 
?>
</body>
</html> 
Reply


Messages In This Thread
I Need Help In PHP Commands - by dareknyght - 09-04-2010, 01:54 AM
RE: I Need Help In PHP Commands - by ndee - 09-04-2010, 04:12 AM
RE: I Need Help In PHP Commands - by dareknyght - 09-06-2010, 03:55 AM
RE: I Need Help In PHP Commands - by |cM| - 09-04-2010, 04:12 AM
RE: I Need Help In PHP Commands - by BreShiE - 01-15-2012, 09:51 AM
RE: I Need Help In PHP Commands - by AceInfinity - 01-15-2012, 05:28 PM
RE: I Need Help In PHP Commands - by Gaijin - 01-15-2012, 05:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 941 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,668 10-10-2011, 01:00 PM
Last Post: Greyersting

Forum Jump:


Users browsing this thread: 1 Guest(s)