[WebDNA] SQL Search

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104685
interpreted = N
texte = Seem to be having trouble searching a MySQL db, and am sure its the way I wrote the line. I don't have any trouble reading, or writing to it, so it has to be something I'm missing in the search. From Form: ------------------------------
Search
---------------------------------- Results page ---------------------------------- [SQLConnect dbType=MySQL&host=localhost&database=mydatabase&uid=ineeda&pwd=drink&conn_var=conn1] [/SQLConnect] [SQLExecute conn_ref=conn1&result_var=rs1] SELECT dealer, prod_desc FROM prod WHERE MATCH(dealer, prod_desc) AGAINST ('searchterm'); [/SQLExecute] [SQLResult result_ref=rs1] [numFound] records found
[FoundItems] [/FoundItems]
DealerProduct Description
[dealer][prod_desc]
[/SQLResult] ------------------------------- Is what I'm drinking not enough, or to much... hic.... any help would be appreciated. Rob Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] SQL Search (Rob 2010)
  2. Re: [WebDNA] SQL Search (Paul Willis 2010)
  3. [WebDNA] SQL Search (Rob 2010)
Seem to be having trouble searching a MySQL db, and am sure its the way I wrote the line. I don't have any trouble reading, or writing to it, so it has to be something I'm missing in the search. From Form: ------------------------------
Search
---------------------------------- Results page ---------------------------------- [SQLConnect dbType=MySQL&host=localhost&database=mydatabase&uid=ineeda&pwd=drink&conn_var=conn1] [/SQLConnect] [SQLExecute conn_ref=conn1&result_var=rs1] SELECT dealer, prod_desc FROM prod WHERE MATCH(dealer, prod_desc) AGAINST ('searchterm'); [/SQLExecute] [SQLResult result_ref=rs1] [numFound] records found
[founditems] [/FoundItems]
DealerProduct Description
[dealer][prod_desc]
[/SQLResult] ------------------------------- Is what I'm drinking not enough, or to much... hic.... any help would be appreciated. Rob Rob

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Replace Statement (1997) [Semi-OT] Kinda cool tool (how does it work?) (2004) [ConvertChars] problem (1997) WebCat2b12plugin - [search] is broken ... not! (1997) Extended [ConvertChars] (1997) Problem displaying search result (1997) Can't Update records (1997) RE: Adding headers to email (1997) Complex search (2002) WebCat2 - [format thousands] (1997) UTF-8 conversion (2006) WebCat2 - many [carts] on one template page? (1997) Its not that weird. (1997) Too Much Rootbeer Free Offer (1997) Date Calulation (1997) [WebDNA] tcp connect who is (2008) emailer w/F2 (1997) Spreadsheet App pref. [OT] (2001) Multi file HTTP upload (2001) Email template names (1997)