Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Feb 2006
    Posts
    1
    Member #
    12580
    Hey,
    I Hope somebody can help me. I am building a website that I can host off my server. I am a computing degree student and I am fairly technically adept. I can use HTML, Javascript and Java fairly competantly.
    I am trying to build a website and I am unsure of what is the best approach to get my pages to load on my site. Alot of people use layers and load with php so they have a content section that alters but everything else stays the same. This is what I am going for but I dont know how to go about it. I have PHP guides and I am fairly ok with PHP but I would say that I am a severe beginner with PHP.
    I have a webpage at the moment, I am looking at starting from scratch with my new site. My current site is http://www.catch22.me.uk If you see I have gone for the effect by hiding layers with my old site but it isn't very browser friendly.
    I hope that someone can help, any help is appreciated, Many thanx

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Quote Originally Posted by sc_3007
    Alot of people use layers and load with php so they have a content section that alters but everything else stays the same. This is what I am going for but I dont know how to go about it.
    By layers we mean using <div> instead of table to display your site. This site should help you get started. There's a bunch of other ones too...

    As for the PHP thing it's using the php include() function. It's very easy to use as long as your server supports it. For example: let's say your menu is always the same. Put the menu section in a seperate file called menu.htm. Then in your page you want to include it, let's say index.php, you put

    PHP Code:
    <?php
    include (menu.htm);
    ?>
    That's it. If you're not comfortable with PHP and won't be using it other than for the include, you should look into Server Side Include (SSI). Acts the same as the PHP include() except the files must be .shtml instead of php. And again, make sure you server supports it.

    hth
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:58 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com