My php is messed up.

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

  1. #1
    I inserted in this php and it messed up my entire page. Here's the code:

    <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>
    <script src="menuscript.js" language="javascript" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="menustyle.css" media="screen, print" />
    </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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div id="header"> <?php include("header.php"); ?>
    </div>
    <div id="left">
    <table border="0" cellpadding="0" cellspacing="0"><tr><td>
    <?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: 300px"
    title="Easy Site Navigator"></div>
    <script src="http://js-kit.com/top.js"></script>

    </div>
    </body>
    </html>

    Anyone know whats wrong?
     
    theblurr5495, Jan 1, 2009 IP
  2. improvingtheweb

    improvingtheweb Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'd say your HTML is messed up.. why are there <meta> tags in the body, etc.. ?
     
    improvingtheweb, Jan 1, 2009 IP
  3. fairuz.ismail

    fairuz.ismail Peon

    Messages:
    232
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    in addition
    <table border="0" cellpadding="0" cellspacing="0"><tr><td>

    td, tr, and table tags are not closed. Check your html first man.
     
    fairuz.ismail, Jan 1, 2009 IP