was just throwing an error but maybe working now

---------- Original Message ----------------------------------
From: Charlie Griefer <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 22 Sep 2004 22:37:18 -0700

>can you define 'choke' in a less vague manner?
>
>
>On Thu, 23 Sep 2004 01:12:06 -0400, dave <[EMAIL PROTECTED]> wrote:
>> anyone tell me why this chokes when i add cfqueryparam to it?
>>
>> <!--- set form variables --->
>> <cfset Ausername = #trim(form.username)#>
>> <cfset Apassword = #trim(form.password)#>
>>
>> <!--- check the username & passord for correct login --->
>> <cfquery name="qLogin" datasource="#dsn#" username="#un#" password="#pw#">
>> SELECT username, password, roles
>> FROM admin
>> WHERE username = <cfqueryparam value="#Ausername#" cfsqltype="cf_sql_varchar">
>> AND password = <cfqueryparam value="#Apassword#" cfsqltype="cf_sql_varchar">
>> </cfquery>
>>
>>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to