CAn anyone check this script....

I am trying to create login and Password page with access as my database. Can u check 
whether this script is ok?

<cfquery name="log" datasource="GraphicDesign">
SELECT*FROM log
WHERE Login='#form.Login#'
AND Password='#form.Password#'
</cfquery>
<cfif log.RecordCount EQ 0>
<cflocation url="invalid.cfm?">
<cfelseif log.RecordCount EQ 1>
<cflocation url="valid.cfm?">
</cfif>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to