Re: Showif, Search and text ?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49539
interpreted = N
texte = Jeff Logan wrote:> I have this search which is suppose to default to what ever category > was choose a first. But for some reason is just chooses the first > category. Can someone take a look at the code below and see what I am > missing something? > > [text show=f]c2=[category][/text]Where does the above var come from? What does the value say if you put a: [category] right there on the page? (in other words, are you getting the right value passed?)Also, When passing a var, try to denote it in some way so that you can keep track of it. name=__category value=[category] (there is the possible problem of a passed var being confused with a database field name)Donovan> [search db=../data/category.db&neCATEGORYdatarq=[blank]&asCATEGORYsort=1] [founditems] [/founditems]([/search])> > Thanks, > Jeff Logan > -- * * |\ /| |/========================================\| ||---------* DONOVAN D. BROOKE *----------|| ||Administrator of IT / Assc. Art Director|| || EPSEN HILLMER GRAPHICS || || 2000 California St. || || Omaha, NE 68132 || ||----------------------------------------|| || http://www.hgproforms.com/ || || http://www.ehg.net/ || |\========================================/| |/ \| * *------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif, Search and text ? (Jeff Logan 2003)
  2. Re: Showif, Search and text ? (Gary Krockover 2003)
  3. Re: Showif, Search and text ? (Donovan 2003)
  4. Showif, Search and text ? (Jeff Logan 2003)
Jeff Logan wrote:> I have this search which is suppose to default to what ever category > was choose a first. But for some reason is just chooses the first > category. Can someone take a look at the code below and see what I am > missing something? > > [text show=f]c2=[category][/text]Where does the above var come from? What does the value say if you put a: [category] right there on the page? (in other words, are you getting the right value passed?)Also, When passing a var, try to denote it in some way so that you can keep track of it. name=__category value=[category] (there is the possible problem of a passed var being confused with a database field name)Donovan> [search db=../data/category.db&neCATEGORYdatarq=[blank]&asCATEGORYsort=1] [founditems] [/founditems]([/search])> > Thanks, > Jeff Logan > -- * * |\ /| |/========================================\| ||---------* DONOVAN D. BROOKE *----------|| ||Administrator of IT / Assc. Art Director|| || EPSEN HILLMER GRAPHICS || || 2000 California St. || || Omaha, NE 68132 || ||----------------------------------------|| || http://www.hgproforms.com/ || || http://www.ehg.net/ || |\========================================/| |/ \| * *------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan

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:

Writing custom WebCat searches?? (2000) Explorer 3.0/ Access Denied! (1997) Arrays (2000) Cool new site (1996) [BULK] [WebDNA] WebDNA Code and HTML WYSIWYG Editors (2011) Updating Prices in Online Database (1999) [OT] HTML Table Cell Problem (2003) [WebDNA] filter out the exclaimation point (2017) Getting Emailer to send mail (1997) WebCat Error Log problem (2.0.1, acgi, Mac) (1997) redirect & arguments (2001) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) formula inside database to calculate weights (1997) Appending data from an IFrame (2002) Re(2): Re(4): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Pirated WebCat? NOT... (2003) Questions To Answer (1997) Assigning new CART number (1997) WC Database Format (1997) Lambada for Macintosh is Here! (1996)