Jump to content

Aidenn

Members
  • Posts

    3
  • Joined

  • Last visited

Aidenn's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Aidenn

    Basic Help

    BAM! I can't believe I forgot to name it php....Sometimes the best answer is the most obvious one. I wasn't even looking there. Thanks
  2. Aidenn

    Basic Help

    Yeah, I've got it all uploaded to a test folder.here is all the files I have uploaded:contents.php:<? php echo "Testing!" ?> and gamos.css: BODY { background-color:#26363d; }.foo { background: white; position: absolute; top: 0; left: 12.5%; width: 75%; height: 100%; } What's getting me, is that when you view source code on the index.html page, it still has the php code in it. I thought that when you set it up like that it would print the contents from contents.php into the source code.
  3. Aidenn

    Basic Help

    Hey guys,Been wracking my brain out on this one, and I can't quit understand why it's not working. New to PHP, and I'm trying to pull code from another file other than the main index page.Here's the code: <HTML><HEAD><TITLE>Gamos Returns!</TITLE><link rel=stylesheet href="gamos.css" type="text/css"></HEAD><BODY><center><table><tr><td class="foo"><?php include("contents.php"); ?></td></tr></table></center></BODY></HTML> I think the problem lies with my includes("contents.php"); in that it simply does not display the coding from my contents.php file. Any advice is appreciated, and thanks for your time.
×
×
  • Create New...