[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 callsa .inc which is a form with all the values of aparticular database entry filled in. You are allowededit this and when you click the form button it issupposed to replace the old database entry. When Iclick the form button however nothing happens. I amredirected to the .tpl which displays all recordscurrently 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] [replacedb=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.ukor 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:
I have a .tpl, when a link is clicked in it, it callsa .inc which is a form with all the values of aparticular database entry filled in. You are allowededit this and when you click the form button it issupposed to replace the old database entry. When Iclick the form button however nothing happens. I amredirected to the .tpl which displays all recordscurrently 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] [replacedb=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.ukor 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:
WCS Newbie question (1997)
Date Formats (1997)
Pass a form (2003)
Sample Tearoom Search Error (1997)
Help DebugLevel Content-type: text/html (1998)
Context and commands (1998)
[WebDNA] Test (2014)
Email notification to one of multiple vendors ? (1997)
db merge problem (2002)
Sendmail problem (2001)
Redirect (2000)
[WebDNA] Webdna and CMS (2012)
[WriteFile] problems (1997)
Banners (1997)
[writefile] (1997)
Database flushing does not work any more... (2000)
Mozilla/4. and Browser Info.txt (1997)
Trigger Problems (2000)
WebCatalog for Postcards ? (1997)
[WebDNA] [OT] economical reliable SSL certs? (2009)