Saving results of a multiple select

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41530
interpreted = N
texte = Hello,I have a page where users can assign multiple related words to the word they are viewing (basically an online glossary where you link the main word to related words also in the glossary).On the page after the submit, I get the following (I have not yet tried to manipulate these results).fld_catagories - 14 fld_catagories - 16 fld_relatedID - 29 fld_relatedID - 30 fld_relatedID - 34 fld_relatedID - 35 fld_relatedID - 36 fld_relatedID - 37 fld_relatedID - 56 fld_relatedID - 58 fld_relatedID - 60where fld_catagories are the valid catagories for this term, and fld_relatedID are the words that I need to link this word/phrase to.The catagories will be stored in a single field in the database in the same record as the word/phrase like this - ,14,16, so I can search on ,[value],The related words will be stored in a separate, two column database with the listed word ID in column 1 and the related word ID in column 2.So in the above example, in the related.db I need to add 9 records like so: term_id related_id 29 74 30 74 34 74 35 74 36 74 37 74 56 74 58 74 60 74As all of the above listed words are related to this word. So that when visitors are viewing the site they will see this word listed under the see also section for each of the above listed words.So the question is how do I work through each of the above instances of fld_relatedID in order to add these records to the database?ThanksDale ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Saving results of a multiple select (dale's stuff 2002)
Hello,I have a page where users can assign multiple related words to the word they are viewing (basically an online glossary where you link the main word to related words also in the glossary).On the page after the submit, I get the following (I have not yet tried to manipulate these results).fld_catagories - 14 fld_catagories - 16 fld_relatedID - 29 fld_relatedID - 30 fld_relatedID - 34 fld_relatedID - 35 fld_relatedID - 36 fld_relatedID - 37 fld_relatedID - 56 fld_relatedID - 58 fld_relatedID - 60where fld_catagories are the valid catagories for this term, and fld_relatedID are the words that I need to link this word/phrase to.The catagories will be stored in a single field in the database in the same record as the word/phrase like this - ,14,16, so I can search on ,[value],The related words will be stored in a separate, two column database with the listed word ID in column 1 and the related word ID in column 2.So in the above example, in the related.db I need to add 9 records like so: term_id related_id 29 74 30 74 34 74 35 74 36 74 37 74 56 74 58 74 60 74As all of the above listed words are related to this word. So that when visitors are viewing the site they will see this word listed under the see also section for each of the above listed words.So the question is how do I work through each of the above instances of fld_relatedID in order to add these records to the database?ThanksDale ------------------------------------------------------------- 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://search.smithmicro.com/ dale's stuff

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:

Big Databases (1997) [WebDNA] end of file append (2017) can anyone confirm this behavior? (2003) [showif],[referer],[include] in errormessages.db (2002) Calendar (1997) Webcatalog/Butler (1998) Summing fields (1997) Formulas.db + Users.db (1997) Searching for (field1 OR field2) AND field3 (2000) WebDNA install on Tiger doesn't work ... (2005) [WebDNA] Sandbox question (2009) Package Prices (2000) No answers by SM? (2000) WebCat chatroom/hyperboard (1997) syntax question, not in online refernce (1997) WebCat2: Items xx to xx shown, etc. (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) (OT) Dual 2GHz G5 (2003) Enhanced Master Counter? (1997) Monthly Help File (2000)