> 4 : <cfset finduser = ListToArray(cgi.server_name, ".")>
> 5 : <cfquery name="rsfinduser" datasource="#application.db#">
> 6 : SELECT dealerID, username, first_name, last_name
> 7 : FROM tblsozo_dealers
> 8 : WHERE username = '#finduser[1]#'
> 9 : </cfquery>
> 

1. Dump cgi scope to see what's in your server_name variable. 

2. More of a heads up - the list is about to jump you for not using 
<cfqueryparam> in your WHERE clause. :) 

Whenever in doubt, dump! 

hth,
Will 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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

Reply via email to