Hello,
I've got multiple pages on the same server that all have the same drop down
boxes in them. It is a list of all our facilities. Every time there is a
change, I have to change it on every page. They are in the format below. Is
there an easy way to store all that data in a text file so I only have to
update it one place?
Thanks,
Matthew
Re: Multiple pages pulling form a single text file
am 09.07.2007 21:55:48 von reb01501
Matthew Kitchin (Usenet/Lists) wrote:
> Hello,
> I've got multiple pages on the same server that all have the same
> drop down boxes in them. It is a list of all our facilities. Every
> time there is a change, I have to change it on every page. They are
> in the format below. Is there an easy way to store all that data in a
> text file so I only have to update it one place?
>
>
>
>
>
> Thanks,
> Matthew
Sure! Use a #include file.
Facilities.asp:
<%
%>
PageWithDropdown.asp:
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Re: Multiple pages pulling form a single text file
am 11.07.2007 21:49:57 von Adrienne Boswell
Gazing into my crystal ball I observed "Matthew Kitchin
\(Usenet/Lists\)" writing in
news:52E165D9-9B7B-4A1A-9403-7E981DB89767@microsoft.com:
> Hello,
> I've got multiple pages on the same server that all have the same drop
> down boxes in them. It is a list of all our facilities. Every time
> there is a change, I have to change it on every page. They are in the
> format below. Is there an easy way to store all that data in a text
> file so I only have to update it one place?
>
>
>
>
>
> Thanks,
> Matthew
>
>
Put the information in an include file, then include it, eg:
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share