Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - import html from file into table?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedimport html from file into table?

 Post Reply Post Reply
Author
copenhagen View Drop Down
Newbie
Newbie


Joined: 18 June 2003
Status: Offline
Points: 8
Direct Link To This Post Topic: import html from file into table?
    Posted: 07 July 2003 at 10:14am
Is it possible to import html data from a file into
a table?

I'm trying to cut down on my page sizes, and I'm finding that if I change the navigation pane on one page I then have to go and change EVERY page to match it... Instead I would like to just have ONE file that contains the code for the navigation pane that I can load into each page as it comes up???

Any ideas?
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Direct Link To This Post Posted: 07 July 2003 at 11:12am

Use server side includes.

Just create a file with the repeated code, and then insert that file into your web page like this:

<!-- #INCLUDE FILE="yourfile.inc" -->

ps - your pages need to have an .asp extension to be able to do this.

Back to Top
copenhagen View Drop Down
Newbie
Newbie


Joined: 18 June 2003
Status: Offline
Points: 8
Direct Link To This Post Posted: 07 July 2003 at 11:35am
EEK i need to learn some more stuff I think.

Can you give me an example??? If not thanks for the first reply!

-Cope
Back to Top
copenhagen View Drop Down
Newbie
Newbie


Joined: 18 June 2003
Status: Offline
Points: 8
Direct Link To This Post Posted: 07 July 2003 at 11:37am
What are Server Side Includes?

Server Side Includes allow you to write some commonly used code once and have the server insert it into the pages for you. In other words an include file has code that you would like to reuse. Any ASP or SHTML page that wants to use the code in the include file will have a special line that indicates the place holder for the code.
This code looks like: <!--#include virtual="/path" -->
This results in the server taking the entire content of the file and inserts it into the page, replacing the <! -- #include ..--> line.


check this out
http://www.smartwebby.com/web_site_design/server_side_includes.asp


THANKS MANG!
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Direct Link To This Post Posted: 07 July 2003 at 4:12pm
I love it when someone can solve their own questions!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.