View Single Post
  #3 (permalink)  
Old Feb 21st, 2008, 21:48
lockmac lockmac is offline
Junior Member
Join Date: Sep 2007
Location: Rosebud
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: cfinclude and defaulting...

Quote:
Originally Posted by uday View Post
tell me what u want exactly. (i have .cfm after the #url.p#).
what do you mean?

what i want is this.... if i go to resourc.cfm and dont have any variables attached, i want my cfinclude to include "main.cfm" but if i go to resource.cfm?p=sub, i want it to include sub.cfm.

i have it setup to include the argument that i sent through as a parameter but i just dont know how to do it so if their is no argument sent, that it will include a default page
Reply With Quote