Jump to content

3l33tmofo

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

3l33tmofo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That fixed it! Thanks for the fast response :)
  2. I seem to be having a problem. The first one was an inexpected ")" so i deleted that. Now i get an error: Warning: main($content): failed to open stream: No such file or directory in /home/getdowng/public_html/wtf/index.php on line 37 Warning: main($content): failed to open stream: No such file or directory in /home/getdowng/public_html/wtf/index.php on line 37 Warning: main(): Failed opening '$content' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/getdowng/public_html/wtf/index.php on line 37 I'm not really sure what I have to change to make the links load the respective .php file.
  3. thats brilliant thanks! :)
  4. Hi im attempting my first php website for a friend of mine for his clan. I want the site to be as simple and flexible as possible and I have one question which i'm sure has a simple solution. I want there to be an index page which will have 3 tables with an include in each one. The first include is just a header which can be updated as is the second table which is the menu. The third table is my question. I want this to be my content and I want the include to change inrespect to the links pressed on the menu. So say my menu is this: Home | Links | Pictures When they click the Home link, the include in the 3rd table will be <?php include('home.php'); ?> When they click Links home.php will change to links.php. I have no idea how to do this but its needed so that everything can be updated without need to change the layout. Many thanks. Matt.
×
×
  • 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.