REALLY need a hand

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23839
interpreted = N
texte = Hi all,I am working on a profile page.Customer has the possibility to save his address with us. This I save with a [append] to the profile.db.In the adress.tpl I get the customers adress back into the form with a search string.Problems:1. If there are spaces in the adress fields or in the phone number then in the form field it looks like this: adress: Street to live Looks like: street phone: 619-67865-1 Looks like: 6192. If the customers leave one field emtpy while registering, the emtpy field is filled with or [adress2] after getting the customers address back into the form.3. If two customers have the same password, the form is filled with the customer who comes first in the profile.db. Of course this is bad. But I think it is only a wrong search string. Any help?Here is the code from the template which retrieves the addresses from the profile.db:[search db=profile.db&eqpassworddatarq=[password]&eqemailrq=[email]&max=1][founditems]
[/founditems] [/search]...other form entries and so on....Sincerely, Nitai*** MacTrade - http://www.mactrade.ch More Mac for your money EMail: Info@mactrade.ch Fax: 052 / 654 15 59 *** Associated Messages, from the most recent to the oldest:

Rechnungsadresse
Name:
Vorname:
Adresse:
PLZ: Ort:
Telephon:
Email:
    
  1. Re: REALLY need a hand (Dave MacLeay 1999)
  2. REALLY need a hand (Nitai 1999)
Hi all,I am working on a profile page.Customer has the possibility to save his address with us. This I save with a [append] to the profile.db.In the adress.tpl I get the customers adress back into the form with a search string.Problems:1. If there are spaces in the adress fields or in the phone number then in the form field it looks like this: adress: Street to live Looks like: street phone: 619-67865-1 Looks like: 6192. If the customers leave one field emtpy while registering, the emtpy field is filled with or [adress2] after getting the customers address back into the form.3. If two customers have the same password, the form is filled with the customer who comes first in the profile.db. Of course this is bad. But I think it is only a wrong search string. Any help?Here is the code from the template which retrieves the addresses from the profile.db:[search db=profile.db&eqpassworddatarq=[password]&eqemailrq=[email]&max=1][founditems] [cart]> [/founditems] [/search]...other form entries and so on....Sincerely, Nitai*** MacTrade - http://www.mactrade.ch More Mac for your money EMail: Info@mactrade.ch Fax: 052 / 654 15 59 *** Nitai

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:

possible, WebCat2.0 and checkboxes-restated (1997)[WebDNA] File Include HTM (2008)Further tests with the infamous shipCost (1997)RE: [WebDNA] payment processor for Hong Kong bank (2015)Caching pages...again (2001)Errata: WCS Newbie question (1997)Possible to reset Linux file permissions w/in webcat [shell] ? (2000)Fun with Dates - revisited (1997)[isfile] ? (1997)wierd [cart] action! (1997)Re:quit command on NT (1997)how to do multiple prices/item? (1998)Ok here is a question? (1997)Re[2]: Weird [blank] interpretation (1999) Orderfile Encryption (2007)RE: CloseDatabase (1997)Using Applescript to process WebCatalog functions (1998)WebCatalog can't find database (1997)[WriteFile] problems (1997)WebCatalog2 Feature Feedback (1996)
Rechnungsadresse
Name:
Vorname:
Adresse:
PLZ: Ort:
Telephon:
Email: