Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Steve Grosz #1
Searching question
I thought I had this correctly, but I guess not. I have:
<cfquery name="Login1" datasource="#DataSource#">
select Usr_pass from members
where Usr_UserName=#form.UserName#
</cfquery>
I'm trying to search through all records in the table for any field that
matches the UserName from the form that submitted it, and then return
the password field. I keep getting a 'unknown column' error instead.
Where did I screw up?
Steve
Steve Grosz Guest
-
spotlight searching question
I have a question regarding using Spotlight to search file content in OS X. We are a small group of teachers who produce a monthly current events... -
name searching
Hello, I want to search for a name in a mysql database. Name-searching can be tricky. Let's say I want to find "Boer". This should match "de... -
Stupid Question SQL Searching
I have a database full of names and contact info. The names are split into last and first, as would be expected. I would like to create an... -
Ruby Newbie's Question: Sockets - searching for equivalent to a perlprogramme
Hi all, I have been desperately trying to convert the following perl programme to Ruby. What should I use for the functions sockaddr_in (maybe... -
MySql search question. Searching on keywords
How do site searches work? I want to create a MySQL database with a field called "keywords". Then a form with a search phrase input box. I... -
dave_jf #2
Re: Searching question
You need to put quotes around the text on the right side of the =.
<cfquery name="Login1" datasource="#DataSource#">
select Usr_pass from members
where Usr_UserName='#form.UserName#'
</cfquery>
HTH,
--Dave
dave_jf Guest
-
Steve Grosz #3
Re: Searching question
Duh!! Sheesh, its too early.... Thanks!
dave_jf wrote:> You need to put quotes around the text on the right side of the =.
>
> <cfquery name="Login1" datasource="#DataSource#">
> select Usr_pass from members
> where Usr_UserName='#form.UserName#'
> </cfquery>
>
>
> HTH,
> --Dave
>Steve Grosz Guest



Reply With Quote

