How to append text after the sign &

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12541
interpreted = N
texte = Dear:I have a form that is posted to a wcat2 template. One of the field of this form is for company; so we have
say a person registers and hits the submit button, registration.TMPL will append the info to a DB [Append registration.db]company=[company]&.........(a lot of other stuffs)[/append]The problem that I am having is that if someone enters a & sign as part of the company name (say Simpson, Sapiro, & Cochran for a mob law firm), the text after the & sign is not appended. In this example, it will be the word CochranMy thinking is that WebDNA replace [company] with Simpson, Sapiro, & CochranSo, the append command becomes[Append registration.db]company=Simpson, Sapiro, & Cochran&.........(a lot of other stuffs)[/append]The word Cochran is discarded because wcat2 thinks that it is a new parameter.Has anyone experienced the same problem and has a workaround?Thanks.Nelson Associated Messages, from the most recent to the oldest:

    
  1. Re: How to append text after the sign & (Kenneth Grome 1997)
  2. How to append text after the sign & (Nelson Chen 1997)
Dear:I have a form that is posted to a wcat2 template. One of the field of this form is for company; so we have say a person registers and hits the submit button, registration.TMPL will append the info to a DB [Append registration.db]company=[company]&.........(a lot of other stuffs)[/append]The problem that I am having is that if someone enters a & sign as part of the company name (say Simpson, Sapiro, & Cochran for a mob law firm), the text after the & sign is not appended. In this example, it will be the word CochranMy thinking is that WebDNA replace [company] with Simpson, Sapiro, & CochranSo, the append command becomes[Append registration.db]company=Simpson, Sapiro, & Cochran&.........(a lot of other stuffs)[/append]The word Cochran is discarded because wcat2 thinks that it is a new parameter.Has anyone experienced the same problem and has a workaround?Thanks.Nelson Nelson Chen

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:

WebDNA dying and trashing my databases (2005) Database Sizes (2000) Cookie still not working (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) decrypt and summ problems (1999) WebCatalog on Linux (2000) Math inside [showif] (1998) Copyright ? (1997) WebCatalog can't find database (1997) Table Loop Hoops (2000) Smith Micro - no competition - Feedback (2000) Trouble with [fileinfo] - update (2004) Anyone using Verisign's Payflow Link for payment processing? (2000) search question (2001) Postgresql books/resources? (2002) Tax calculation problem (2003) Reversed words (1997) WebCat2b15MacPlugin - showing [math] (1997) Add to a field (1998) Generating unique SKU from [cart] - Still Stumped... (1997)