Easy Php code

Discussion in 'PHP' started by theblurr5495, Jan 1, 2009.

  1. #1
    Whats wrong with my php it doesn't work.

    html>
    <head>
    <meta name="keywords" content="soccer,free soccer tips,soccer tips,soccer forum,soccer history,soccer mom">
    <meta name="description" content="">
    <title> The Complete Soccer Guide-Free soccer tips,soccer forum,soccer history,soccer moms,soccer rules</title>

    </head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">
    <!--
    body{
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: #000;
    }
    p {color:white}
    #header {margin: 20px;padding: 10px;height: 100px;}
    #left {position: absolute;left: 15px;top: 160px;width: 200px;}
    #center {top: 0;margin-left: 230px;margin-right: 230px;}
    #right {position: absolute;right: 15px;top: 160px;width: 200px;}
    body,td,th {
    color: #FFF;
    }
    -->
    </style><div id="header"> <?php include("header.php"); ?>
    </div>
    <div id="left">
    <?php include("menu.php"); ?>

    </div>
    <div id="center"><h1>Home of Soccer </h1>
    <h2 align="center">Need Some Soccer Tips?</h2>
    <p> Hello and welcome to The Complete Soccer guide. We are a site dedicated to providing the best free soccer tips in full soccer guides. These soccer tips and guides will greatly inprove your soccer ability if your a begginer or vertern soccer player. I hope that we can have a great community where players,soccer moms, soccer coaches, soccer refferees, and soccer fans can all come together to and improve there soccer knowledge and help other improve theirs. This site is the ultimate source to learn how to play soccer, the amazing game. So what are you waiting for click on these links which will lead you to all the pages relating to them:<br>
    <a href="http://www.thecompletesoccerguide.com/soccerskillsguides">Soccer Skills Guides</a><br>
    <a href="http://www.thecompletesoccerguide.com/soccerpositions">Soccer Positions</a><br>
    <a href="http://www.thecompletesoccerguide.com/mentalsoccerguide">Mental Soccer Guides</a>
    </p>
    </p>
    <br> </div>
    <div id="right"><div class="js-kit-top" style="width: 200px"
    title="Easy Site Navigator">
    <script src="http://js-kit.com/top.js"></script> </div>

    </div>
    </body>
    </html>
     
    theblurr5495, Jan 1, 2009 IP
  2. fairuz.ismail

    fairuz.ismail Peon

    Messages:
    232
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    what do you mean by it doesn't work? please be more precise in your question
     
    fairuz.ismail, Jan 1, 2009 IP
  3. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    the php does not show in the page. You can view the page its the first in my signuture
     
    theblurr5495, Jan 1, 2009 IP
  4. sandstorm140

    sandstorm140 Peon

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    your do not have PHP enabled
     
    sandstorm140, Jan 1, 2009 IP
  5. fairuz.ismail

    fairuz.ismail Peon

    Messages:
    232
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    rename index.html to index.php

    html files can't contain php codes, but php files can contain html codes..remember this.
     
    fairuz.ismail, Jan 1, 2009 IP
  6. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #6
    oh, thanks, i'll try that.
     
    theblurr5495, Jan 1, 2009 IP