[REPLACE] problems

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37697
interpreted = N
texte = 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=[__DISPLAY]&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/ 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)
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=[__DISPLAY]&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/ Laeg Ent.

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:

Sku numbers (1997) Tech question about web dna actions (1998) syntax question, not in online refernce (1997) page redirect in webDNA (1997) Somewhat OT: IE issues (2002) Shopping cart now good (fixed it) (1997) How far do [showif]s go? (1997) 2.0Beta Command Ref (can't find this instruction) (1997) New WebCatalog Version !!! (1997) email list archive template (2004) [OT] Getting a domain listening on port 443 and port80? (2003) Re:no [search] with NT (1997) Location of Webcat site in folder hierarchy (1997) Apache on windows and WebDNA (2004) Creating main- and sub-category search (1997) Relative URL quirk (1999) [FoundItems] solved - thanks (1997) .htm file tags not showing up (2000) BadSuffix with 2.1b3 cgi (1997) Is this possible, WebCat2.0 and checkboxes (1997)