PHP vs WebDNA question --calling all php gurus

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60333
interpreted = N
texte = I am working on a project and have to use php. Although am familiar with php, I am getting snagged on a few tasks that I normally do via webdna. Any help appreciated. What I am trying to do is use an index.tpl type page that displays its content dynamically depending on a variable. For instance in webDNA I would: [showif [myvariable]=[raw][myvariable][/raw]] include index.inc [/showif] [showif [myvariable]![raw][myvariable][/raw]] include [myvariable].inc [/showif] How can I do this in php? -Adam O Adam O'Connor Web Developer --------------------------- Hylant Group 811 Madison, 10th Floor Toledo, OH 43624 Phone (419) 259-6054 Fax (419) 259-2712 adam.oconnor@hylant.com www.hylant.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: PHP vs WebDNA question --calling all php gurus ( "Adam Lee O'Connor" 2004)
  2. Re: PHP vs WebDNA question --calling all php gurus ( Jay Van Vark 2004)
  3. PHP vs WebDNA question --calling all php gurus ( "Adam Lee O'Connor" 2004)
I am working on a project and have to use php. Although am familiar with php, I am getting snagged on a few tasks that I normally do via webdna. Any help appreciated. What I am trying to do is use an index.tpl type page that displays its content dynamically depending on a variable. For instance in webDNA I would: [showif [myvariable]=[raw][myvariable][/raw]] include index.inc [/showif] [showif [myvariable]![raw][myvariable][/raw]] include [myvariable].inc [/showif] How can I do this in php? -Adam O Adam O'Connor Web Developer --------------------------- Hylant Group 811 Madison, 10th Floor Toledo, OH 43624 Phone (419) 259-6054 Fax (419) 259-2712 adam.oconnor@hylant.com www.hylant.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://webdna.smithmicro.com/ "Adam Lee O'Connor"

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:

Find all in search. (2002) SKU (1997) Passing Cart variable to subdirectory files? (1997) mail test (1997) Virtual hosting and webcatNT (1997) Problem: 3.0 doesn't update carts (1997) Running WebCat from a CD-ROM (1997) shipCost (1998) ShowNext example for GeneralStore (1997) Gil's in the lead (1999) math with a [numfound] (2005) Multiple prices per product (2004) PCS Frames (1997) Writefile (2000) WebCommerce: Folder organization ? (1997) Not really WebCat (1997) Empty Shopping Carts? (1998) multiple search commands (1997) OT: Raid Software on OSX (2003) Generating unique SKU from [cart] (1997)