Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Use a variable for the INCLUDES name

Quote Reply
Use a variable for the INCLUDES name
Hi:



According to the help file, you can include a txt file easily, like:



<%include person.txt%>




I want to include a variablly named file (from a field "Comment"), so it would WANT to be something like:



<%include Comment%> (where Comment is "thisfile.txt" or "thatfile.txt")



I also gave this a shot:



<%include Comment.txt%>



but that does not cut it, either.





but that does not work. Is there a way to do this?



dave
dave

Big Cartoon DataBase
Big Comic Book DataBase

Last edited by:

carfac: Nov 20, 2002, 1:36 PM
Subject Author Views Date
Thread Use a variable for the INCLUDES name carfac 1852 Nov 20, 2002, 1:14 PM
Thread Re: [carfac] Use a variable for the INCLUDES name
Paul 1800 Nov 20, 2002, 1:37 PM
Thread Re: [Paul] Use a variable for the INCLUDES name
carfac 1804 Nov 20, 2002, 1:37 PM
Post Re: [carfac] Use a variable for the INCLUDES name
carfac 1776 Nov 21, 2002, 11:53 AM