Aren't you going to scope those vars?

Cutter
____________
http://blog.cutterscrossing.com

alex poyaoan wrote:
>><cfif isDefined("field") and len(field)>
>>      <cfset fileLoc = "file.cfm">
>><cfelse>
>>      <cfset field = "Home">
>>      <cfset fileLoc = "index.cfm">
>></cfif>
>>
>><cfoutput>
>>      <a href="#fileLoc#">
>>              #field#
>>      </a>
>></cfouput>
>>
>>
>>Like this?
>>
>>
> 
> thanks to all it has been a big help now each suggestion worked so i have 
> options 
> again thanks
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256666
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to