How do I call html code from an external document?

liunx

Guest
Hi Guys,

I have a dynamic asp webpage (like so : <!-- m --><a class="postlink" href="http://www.boltonpc.co.uk/Shop/Products.asp?PC=12">http://www.boltonpc.co.uk/Shop/Products.asp?PC=12</a><!-- m --> )

I want to create some script that calls content from an external asp page, based upon the value of the variable "PC" (as seen in the above url)

Not good at HTML or ASP by far, Im ok with my if / else statements, but need to know what code is used to call my external page called for argument sake "banners.asp"

Does this make sense ? Can anyone help?You either have to read it in using the FSO object and output to the response.write stream or you have to do conditional includes which really is an if statement around a include statements, but i would look deeper into using a database rather than that of a include conditionally.Thanks for that afterburn, I should have mentioned, for a number of reasons, that I can only do it using conditional if/else statements.

So I need to use include ?

Hmm, time to look for it's syntax :) Wish me luck!Well then you can not use the include in that method. you should write a function taht reads the file, if its an ASP file the you can read it the Execute method.
 
Back
Top