[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:

Redirect to anchor (2001) Database files & W2000 (2001) RequiredFields template (1997) Newbie problem blah blah blah (1997) GuestBook example (1997) supressing math results (1997) Pithy questions on webcommerce & siteedit (1997) Date search - yes or no (1997) setitems, one more thing (1997) auto adding SKUs w/DB helper (1998) So Simple (2005) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Help name our technology! (1997) archiving images (2006) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Price override (2004) many-to-one problem (1998) Whats wrong with this code? (1998) searchable list archive (1997) Credit Card processing (1998)