Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 20579
Total Votes: 149 votes
Average Rating: 2.82 out of 5
Category: ASP/Content Management
Description:Include files allow you to take pieces of redundant code or html and place them on a page by themselves. This is practical approach in keeping maintenance down to a minimum in a variety of ways. Below will give you an idea of what to use them for.
1. Database Connections
5. Advertising Slots
These are just some of the scenarios in which an include file could be beneficial. All it takes is one line to include a file on a page. For example, we have a bunch of info we want on all our pages that may need to change from time to time. First we will create a page named stuff.asp and put all that information on it. Now we put that in a directory we will call include.