Give help. Get help.

  • # November 17, 2012 at 9:32 am

    Alright so this is what i am trying to do, nothing fancy, just a simple include file, for a file that i use often. Now i know about next to nothing when it comes to php so please talk slow and enunciate. Here is the html/php < ?php include("../../galleria-head.php") ;?>the rest of html.

    Now the file galleria-head.php is located inside a directory of portfolio/. The html file that is calling the php file is located in portfolio/senior-pics/index.html. So the file paths are correct. But for some reason the html turns that < ?php include(''); ?> into a comment. Am i doing something wrong? Do i need to do something to my html file so it isn’t turning it into a comment?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.