Re: [REPLACE] problems

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37698
interpreted = N
texte = platform? version?Will Starck NovaDerm skin care science http://www.novaderm.com -techs@novaderm.com 800-378-1740 800-378-1740----- Original Message ----- From: Laeg Ent. To: WebCatalog Talk Sent: Wednesday, August 08, 2001 5:45 AM Subject: [REPLACE] problems > I have a .tpl, when a link is clicked in it, it calls > a .inc which is a form with all the values of a > particular database entry filled in. You are allowed > edit this and when you click the form button it is > supposed to replace the old database entry. When I > click the form button however nothing happens. I am > redirected to the .tpl which displays all records > currently in the database and nothing has changed. > Here is the code. > > When you click the form button the command value will > be alter.... > > [if [command]=alter] > [then] > [replace > db=news.db&eqHEADLINEdata=[__HEADLINE]]HEADLINE=[__HEADLINE]&DISPLAY=[__DISP LAY]&PARA1=[__PARA1]&PARA2=[__PARA2]&SEQ=[__SEQ] > [/replace] > [flushdatabases] > [redirect news.tpl] > [/then] > [else][/else] > [/if] > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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. Re: [REPLACE] problems (Kenneth Grome 2001)
  2. Re: [REPLACE] problems (Will Starck 2001)
  3. [REPLACE] problems (Laeg Ent. 2001)
platform? version?Will Starck NovaDerm skin care science http://www.novaderm.com -techs@novaderm.com 800-378-1740 800-378-1740----- Original Message ----- From: Laeg Ent. To: WebCatalog Talk Sent: Wednesday, August 08, 2001 5:45 AM Subject: [replace] problems > I have a .tpl, when a link is clicked in it, it calls > a .inc which is a form with all the values of a > particular database entry filled in. You are allowed > edit this and when you click the form button it is > supposed to replace the old database entry. When I > click the form button however nothing happens. I am > redirected to the .tpl which displays all records > currently in the database and nothing has changed. > Here is the code. > > When you click the form button the command value will > be alter.... > > [if [command]=alter] > [then] > [replace > db=news.db&eqHEADLINEdata=[__HEADLINE]]HEADLINE=[__HEADLINE]&DISPLAY=[__DISP LAY]&PARA1=[__PARA1]&PARA2=[__PARA2]&SEQ=[__SEQ] > [/replace] > [flushdatabases] > [redirect news.tpl] > [/then] > [else][/else] > [/if] > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Will Starck

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:

Satistics (1999) if else problem (2003) Show shoppingcart after remove last item (1997) [Feature Request] Stronghold security variables that cannot (2000) ***** BUG 5.1 onwards ***** (2005) Best way to download a db (2003) Comparing two fields so the match (1998) [WebDNA] Was: wiki Now: Object-oriented programmng (2009) webcat feature request (1997) WebCatalog Eating 200% of the CPU (2002) Rép : Old & New? (2003) ShipCosts database (1997) Force leading zeros (1998) So .. How fast (2003) Upgrading old WebCat Database Files (1997) UH OH (1999) [WriteFile] problems (1997) Date Bug (1998) taxrate - off by 1 cent (1997) Not really WebCat - need HTML Grider (1997)