|
cfinclude and defaulting...
Hi. I am creating a website in coldfusion and i have a main page that has a cfinclude and includes whatever was passed on in the url.p
example..
say the adress was about.cfm?p=julie
then in the about.cfm, the cfinclude will include julie.cfm (i have .cfm after the #url.p#)
What i would like to know is how to i make it default to include a certain page if their is no parameter passed on (such as it might be about.cfm?p or it might just be a direct link to the page such as about.cfm)?
many thanks
|