I have a login page with the following query:
<cfquery name="GetUser" datasource="#DataSource#">
SELECT UserID, Username, Password, Company, FName, LName, AuthLevel
FROM Users
WHERE UserName='#FORM.UserLogin#' AND Password='#FORM.UserPassword#'
</cfquery>
When I attempt to login I receive the following error:
Error Executing Database Query.
18 : SELECT UserID, Username, Password, Company, FName, LName, AuthLevel
19 : FROM Users
20 : WHERE UserName='#FORM.UserLogin#' AND Password='#FORM.UserPassword#'
Thanks for any assistance.
<cfquery name="GetUser" datasource="#DataSource#">
SELECT UserID, Username, Password, Company, FName, LName, AuthLevel
FROM Users
WHERE UserName='#FORM.UserLogin#' AND Password='#FORM.UserPassword#'
</cfquery>
When I attempt to login I receive the following error:
Error Executing Database Query.
18 : SELECT UserID, Username, Password, Company, FName, LName, AuthLevel
19 : FROM Users
20 : WHERE UserName='#FORM.UserLogin#' AND Password='#FORM.UserPassword#'
Thanks for any assistance.