Re: Word Break

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23566
interpreted = N
texte = On 2/10/1999 9:01 pm, Mike Jones so noted...>I need to get seperate results cause I'm using them for checkboxs. > >I'v etried this but still no luck >[search >db=features.db&gefeature2choicesdata=1&eqMain-Categorydatarq=Cameras&eqCat >egorydatarq=35mm >SLR&eqSub-Categorydatarq=Camera&feature2choiceswbrk=,] > >then the results code > >[founditems] > value=[feature1choices]> > [feature2choices][/founditems] > >So I need the entry to seprate into individual words.Forget the wbrk in the search context -- like Ken said, it's for how the database gets searched, not how the results are formatted. If you need to break the results into separate lines for a form, you can use [listwords][search db=features.db&gefeature2choicesdata=1&eqMain-Categorydatarq=Cameras&eqCate gorydatarq=35mmSLR&eqSub-Categorydatarq=Camera]
[listwords words=[founditems][feature1choices][/founditems]&delimiters=,] [word] [/listwords]
[/search]I haven't tested it out, but for your mentioned example of Auto Flash, Manual Flash, you should get checkboxes for __value1 and __value2 that return Auto Flash and Manual Flash respectively when checked.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Substring matches, word breaks, groups, and forms (Dennis J. Bonsall, Jr. 2002)
  2. Re: Word Break (Rob Marquardt 1999)
  3. Re: Word Break (Mike Jones 1999)
  4. Re: Word Break (Kenneth Grome 1999)
  5. Word Break (Mike Jones 1999)
  6. Re: Search wbrk word break param (PCS Technical Support 1998)
  7. Search wbrk word break param (Steve Rosenbaum 1998)
  8. Re: Word Breaks (Peter Ostry 1998)
  9. Re: Word Breaks (PCS Technical Support 1998)
  10. Re: Word Breaks (Sandra L. Pitner 1998)
  11. Word Breaks (webmaster@textileweb.net (Bill Norman) 1998)
On 2/10/1999 9:01 pm, Mike Jones so noted...>I need to get seperate results cause I'm using them for checkboxs. > >I'v etried this but still no luck >[search >db=features.db&gefeature2choicesdata=1&eqMain-Categorydatarq=Cameras&eqCat >egorydatarq=35mm >SLR&eqSub-Categorydatarq=Camera&feature2choiceswbrk=,] > >then the results code > >[founditems] > value=[feature1choices]> > [feature2choices][/founditems] > >So I need the entry to seprate into individual words.Forget the wbrk in the search context -- like Ken said, it's for how the database gets searched, not how the results are formatted. If you need to break the results into separate lines for a form, you can use [listwords][search db=features.db&gefeature2choicesdata=1&eqMain-Categorydatarq=Cameras&eqCate gorydatarq=35mmSLR&eqSub-Categorydatarq=Camera]
[listwords words=[founditems][feature1choices][/founditems]&delimiters=,] [word] [/listwords]
[/search]I haven't tested it out, but for your mentioned example of Auto Flash, Manual Flash, you should get checkboxes for __value1 and __value2 that return Auto Flash and Manual Flash respectively when checked.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

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:

Locking up with WebCatalog... (1997) UNSUBSCRIBE (2006) updating with ProductEditor (1998) Emailer (1997) [defined]ish (1997) [WebDNA] HTTP Streaming -- impossible? (2010) Help formatting search results w/ table (1997) Sorry, the WebDNA engine has reached its connection limit. (2002) HELP WITH DATES (1997) Adding headers to email (1997) Some Questions (1997) Categorizing by data (2001) [WebDNA] Paypal Sandbox TCPConnect (2012) WebTen Type 2 Crash on start (2000) [OT Rebound] how to set w* backgroundserver (2002) Strange search... (2001) Searching multiple fields (1997) Data Variables partially show up (1998) ErrorMessage.db and redirect URL (1998) cart info (1998)