candelbc
12-06-2004, 05:33 PM
I am creating a simple FAQ page for a customer of mine, and wanted to save some time. The FAQ's are to be categorized in three different categories.
I thought that I might as well use an INCLUDE that would go out and get the information from the database, and create the FAQ's for each section.. To keep myself from changing 3 different include files, I thought I would just make one and pass a variable to it to determine just what fCATID (1, 2, or 3) to show.
Here's what I was using:
<!--#include file="scripts/get_FAQs.asp?fCatID=1"-->
So the real question, is there any way to dynamically use an INCLUDE statement?
Thanks in advance....
-Brad
I thought that I might as well use an INCLUDE that would go out and get the information from the database, and create the FAQ's for each section.. To keep myself from changing 3 different include files, I thought I would just make one and pass a variable to it to determine just what fCATID (1, 2, or 3) to show.
Here's what I was using:
<!--#include file="scripts/get_FAQs.asp?fCatID=1"-->
So the real question, is there any way to dynamically use an INCLUDE statement?
Thanks in advance....
-Brad