Jump to content

Xplorer4x4

New Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Xplorer4x4

  1. I am trying to take the content of my header on my site http://4x4submods.tk and convert it from being in every single php file to being a single header.php file that I can parse using include 'header.php'; I have taken the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>4x4 Submods</title> <meta name="keywords" content="something, something else, etc"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container"> <div id="logo"><a href="index.php" class="logo" ></a></div> <div id="banner"><img src="images/main-image.jpg" alt="Main Image" /></div> <div id="nav"> <ul> <li class="nlink"><a href="index.php">Home</a></li> <li class="nlink"><a href="lamod4x4.php">LA Mod 2.1 4x4 Submod</a></li> <li class="nlink"><a href="lamod4x4-w00ds-map-v1.php">LA Mod 4x4 w00d's Map v1</a></li> <li class="nlink"> </li> <li class="nlink"> </li> <li class="nlinkend"><a href="donate.php">Donate</a></li> <!--<li class="nlinkend"> </li>--> </ul> </div> And inserted it in header.php and tried using include 'header.php' in test.php(http://4x4submods.tk/test.php) but it's not calling the header file and parsing it. What am I missing?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.