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 wayso that you can keep track of it. name=__category value=[category](there is the possible problem of a passed var being confused witha 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:
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 wayso that you can keep track of it. name=__category value=[category](there is the possible problem of a passed var being confused witha 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
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...