Re: Ampersand is breaking search context

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22713
interpreted = N
texte = >>How do I >>A: Properly create a form that allows a user to enter a name like Meyer & >>Frank into a text field that will be appended to my database? > > 1- Collect the data in a form. > 2- Put [url] contexts around the field tags inside the append context. > >>B: Properly construct a search like the above to then find the record that >>contains the ampersand character. > > [search > db=Catalog.db&eqArtistdatarq=[url][Artist][/url]&eqTitledatarq=[url][Title][ /url]] > >From what I understand then, this method converts all ampersands into & before appending to the database. Does a search where a user types an ampersand into a text input actually know to search for the url equivalent? And, how can I compensate for the existence of ampersands pre-existing in the database, such as when it is imported from another source?Mike Davis Associated Messages, from the most recent to the oldest:

    
  1. Re: Ampersand is breaking search context (Mike_Davis 1999)
  2. Re: Ampersand is breaking search context (Kenneth Grome 1999)
  3. Ampersand is breaking search context (Mike_Davis 1999)
>>How do I >>A: Properly create a form that allows a user to enter a name like Meyer & >>Frank into a text field that will be appended to my database? > > 1- Collect the data in a form. > 2- Put [url] contexts around the field tags inside the append context. > >>B: Properly construct a search like the above to then find the record that >>contains the ampersand character. > > [search > db=Catalog.db&eqArtistdatarq=[url][Artist][/url]&eqTitledatarq=[url][Title][ /url]] > >From what I understand then, this method converts all ampersands into & before appending to the database. Does a search where a user types an ampersand into a text input actually know to search for the url equivalent? And, how can I compensate for the existence of ampersands pre-existing in the database, such as when it is imported from another source?Mike Davis Mike_Davis

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:

Type 11 errors setting up WebCAt 2 (1997) Multiple catalog databases and showcart (1997) search form problem.. (1997) setting taxable to true (1997) CART question (2004) WebMerchant issues. [Resent] (2000) NT error logs (1997) WebCat Stuff (2001) Revisit: speed test (2002) WebCat2 - [format thousands] (1997) SSL and WebCatalog (1997) RE: Remote administration (1998) Search Engine bots (2002) Secure Server (1997) Reversed words (1997) Mac & Internet Explorer (2000) Help name our technology! (1997) WebDelivery downloads alias, not original ? (1997) [ModDate] & [ModTime] ? (1997) Shhh... (2006)