Re: Visitor info

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30983
interpreted = N
texte = >Hello! > >I'm having a problem with a site that will simply display a listing of >area businesses based on categories & cities. As a part of this we're >linking to another site for maps of each location >Their link has to look like this: http://www.url.com/mappage?Street=[stree >t]&City=[city]&State=[state]&ZIP=[ZIP] > >Any spaces must have a + instead of %20. So i worked up a convertchars >database & set it to change %20's to + (or %2B) it's working only on the >first listing, not all of them, and if I refresh the page it stops working >and I have to flush the database to get it to come back. Any idea what >could be causing this? the convertchars db reads: > >fromto >%20%2B > >and the link looks like this: >http:// www.url.com/mappage?Street=[convertchars db=dbs/mapformat.db][addr >ess1][/convertchars]&City=[city]&State=[state]&ZIP=[zip] > >If anyone has anything that may help this I'd appreciate it!If there are any spaces in the city or state fields, the links won't work the way you have it. You have to enclose everything that might have a space in it in your convertchars context, or the resulting spaces will ruin the URL. Try using this instead:http:// www.url.com/mappage?[convertchars db=dbs/mapformat.db]Street=[address1]&City=[city]&State=[state]&ZIP=[zip][/convertchars] ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Visitor info (Rob Marquardt 2000)
  2. Re: Visitor info (Kenneth Grome 2000)
  3. Re: Visitor info (Sue Booher 2000)
  4. Re: Visitor info (Kenneth Grome 2000)
  5. Re: Visitor info (Lee Selvog 2000)
  6. Re: Visitor info (Michael O Shea 2000)
  7. Re: Visitor info (Rob Marquardt 2000)
  8. Re: Visitor info (Lee Selvog 2000)
  9. Re: Visitor info (Michael O Shea 2000)
  10. Visitor info (Lee Selvog 2000)
>Hello! > >I'm having a problem with a site that will simply display a listing of >area businesses based on categories & cities. As a part of this we're >linking to another site for maps of each location >Their link has to look like this: http://www.url.com/mappage?Street=[stree >t]&City=[city]&State=[state]&ZIP=[ZIP] > >Any spaces must have a + instead of %20. So i worked up a convertchars >database & set it to change %20's to + (or %2B) it's working only on the >first listing, not all of them, and if I refresh the page it stops working >and I have to flush the database to get it to come back. Any idea what >could be causing this? the convertchars db reads: > >fromto >%20%2B > >and the link looks like this: >http:// www.url.com/mappage?Street=[convertchars db=dbs/mapformat.db][addr >ess1][/convertchars]&City=[city]&State=[state]&ZIP=[zip] > >If anyone has anything that may help this I'd appreciate it!If there are any spaces in the city or state fields, the links won't work the way you have it. You have to enclose everything that might have a space in it in your convertchars context, or the resulting spaces will ruin the URL. Try using this instead:http:// www.url.com/mappage?[convertchars db=dbs/mapformat.db]Street=[address1]&City=[city]&State=[state]&ZIP=[zip][/convertchars] ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.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 Kenneth Grome

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:

Sandbox DB permissions (2005) cart info (1998) required fields (1998) CSS in HTML emails? (2003) How to find 100 most recent additions. (1997) Major Security Hole (1998) WebCat2.0 [format thousands .0f] no go (1997) Multiple prices (1997) Country & Ship-to address & other fields ? (1997) WebCat Emailer & Liststar (1997) The Guru Speaks (1998) Emailer (1997) HELP WITH DATES (1997) Search results templates (1996) WebCat 4.0 & WebMerchant (2000) Errata: WCS Newbie question (1997) WebCatalog/WebMerchant Manuals Available (1998) errormessages.db (1997) AutoCommit Preference? (1998) Dates! (1998)