Results 1 to 2 of 2

Thread: External data?

  1. #1
    Join Date
    Oct 2007
    Location
    Nottingham, England
    Posts
    2

    External data?

    I'm building a site for my partner at the mo which will probably wind up with quite a lot of pages, and as a result of its dynamic (as in 'constantly updated', rather than 'animated') nature, things like the menu setup may well need to be altered along the line as things are added that hadn't been previously considered.

    The menu currently has a fairly simple setup, based on a list in the HTML, with CSS styling to deal with things like colours and rollover effects. And I (and she) would like it to stay that simple. But I am concerned about having to change it later. Is there a way of providing a link within a menu div that imports the menu list from an external HTML file?

  2. #2
    Join Date
    Dec 2004
    Posts
    2,788
    Server Side Includes (SSI) or PHP Includes. They both allow you to put markers in the HTML code that the server replaces with external data when the page is sent to the user. SSI requires the server to be set up to do it (usually is) and usually requires a .shtml extension on the HTML file so that it will know to parse the file. PHP Includes requires PHP be running on the server (usually is) and a .php extension on the HTML file. Do a Google search for Server Side Includes or PHP Includes to get the proper form of the marker tags.

Similar Threads

  1. Specific data search, extraction and delivery tool
    By FOA in forum General Questions
    Replies: 0
    Last Post: 03 Aug 2006, 06:35 AM
  2. Seek Software Solutions: Building, Managing, Refreshing Data Sets
    By bluesky7 in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 09 Feb 2006, 01:06 PM
  3. Data Entry
    By bpo_ccs in forum Tell Us About Yourself
    Replies: 0
    Last Post: 05 Jan 2006, 12:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •