Hi, I'm making a site which has a case study inset in every page. I'm using CFusion to include a .txt (html) file of a case study. There are a number of case studies but I want to randomly choose one each time a page loads.
I guess I need a SQL statment that will generate a random ID to display...
No, they're just in a folder. I was thinking if I could randomly get a file name I could put this inside the cfinclude: <cfinclude template="#RANDOM FILE NAME#" etc etc, though I'm open to other ways of doing it!
Hi, I'm making a web site which has a case study inset in every page. I'm using CFusion to include a .txt file of that case study. What I want to do is to randomly select the .txt files.
I've got three case studies and I've made a table with a field listing the file names. I need a statement to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.