Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Here is a link to the file I am working with:
http://www.medequipserv.com/needSomeHelp.htm
I need to load the contents of the DIV "excel" from a seperate file. Can someone show me how to do this?Im talking about the part of the code that looks like this:
<div id="excel">
Item,Price
LHA103GP,$999.99
AAM102,$999.99
AAM103,$999.99
</div>

It depends on the scripting language that you are using.
If it is in php (which is the language that i know), it is a simple case of <?include("file.php");?>
If it is in html, you have to use .shtml and ssi but i don't know how to do this, but there's lots of tutorials online.
Any other languages, can't help!
If you're interested in SMS, visit section about sms news.

Thank you for your advice. Unfortunatly, I can't use ASP, PHP, or SSI. I will probably look for a new webhost that can support this.
"Any other languages, can't help!"
I think I may be able to do this with javascript and have a seperate .js file which would contain all
var 12345 = "$10"
var 12346 = "$12"then have each link display the value of its varible like this:
a href="Value of 12345"
That way I could have one central file that contained all the items and prices.
I think you are right about other lang's to an extent. I believe that you can write a program to do anything. However, each lang has its given disadvantages. I will try this javascript method, and if nothing else I will get a new webhost.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |