Database append/replace

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55893
interpreted = N
texte = Hi, I make a "easy to use" webdna code to append or replace data into a database. [!]Insert database name[/!] [text]dbname=../db/database.db][/text] [!]Insert location server home directory[/!] [text]server=/home/www.website.com/docs/HTML/db/[/text] [text]velden=[ListDatabases db=[dbname]][showif [name]=[server][dbname]][numFields][/showif][/ListDatabases][/text] [!]Replace[/!] [showif [go]=replace][replace db=[dbname]&eqSKUdata=[SKU][listfields db=[dbname]][fieldname]=[interpret][[fieldname]][/interpret][showif [index]![velden]]&[/showif][/listfields][/replace][/showif] [!]Append[/!] [showif [go]=append][append db=[dbname]&eqSKUdata=[SKU][listfields db=[dbname]][fieldname]=[interpret][[fieldname]][/interpret][showif [index]![velden]]&[/showif][/listfields][/append][/showif] Maybe usefull for you! Greetings, Edwin Hoevers The Netherlands ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Database append/replace ( Kenneth Grome 2004)
  2. Database append/replace ( "Edwin Hoevers" 2004)
Hi, I make a "easy to use" webdna code to append or replace data into a database. [!]Insert database name[/!] [text]dbname=../db/database.db][/text] [!]Insert location server home directory[/!] [text]server=/home/www.website.com/docs/HTML/db/[/text] [text]velden=[ListDatabases db=[dbname]][showif [name]=[server][dbname]][numFields][/showif][/ListDatabases][/text] [!]Replace[/!] [showif [go]=replace][replace db=[dbname]&eqSKUdata=[SKU][listfields db=[dbname]][fieldname]=[interpret][[fieldname]][/interpret][showif [index]![velden]]&[/showif][/listfields][/replace][/showif] [!]Append[/!] [showif [go]=append][append db=[dbname]&eqSKUdata=[SKU][listfields db=[dbname]][fieldname]=[interpret][[fieldname]][/interpret][showif [index]![velden]]&[/showif][/listfields][/append][/showif] Maybe usefull for you! Greetings, Edwin Hoevers The Netherlands ------------------------------------------------------------- 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://webdna.smithmicro.com/ "Edwin Hoevers"

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:

Hiding usernames and passwords in URL (1998) [GROUPS] followup (1997) SiteGuard Admin Feature ? (1997) FORMS: Returning a specific page (1997) Configuration Q (1998) Help name our technology! I found it (1997) shipping costs (1997) Formulas.db (1997) expired beta (1997) Mondo amounts of Mail [long] (1999) ampersand in a sendmail body (2007) Emailer choke (1997) problems with 2 tags shakur (1997) Logout? (1998) AuthorizeNet Down? (2001) Summing fields (1997) [SHOWIF]s and empty arguments (1997) Need help with emailer- 2 issues (1997) WebMerchant? (1998) Problem displaying search result (1997)