Conditional statement to generate HTML?

From: Erica (erica_at_technodyke.com)
Date: 07/16/04

  • Next message: ulysses: "Apache 2 mod perl BerkeleyDB Question"
    Date: 15 Jul 2004 21:52:36 -0700
    
    

    Hi,

    I'm an experienced programmer, but very new at perl, so please excuse
    my newbishness :)

    I am trying to modify an existing piece of perl code for an online
    store that sells movies. Some of the videos in the inventory are now
    available in DVD, so I want to add a DVD checkbox option for the
    appropriate movies.

    There is a boolean field in the database that is set to 1 if it is
    available in DVD. Ideally, what I would like is an if-statement that
    generates a piece of HTML if the boolean is true. However, it doesn't
    seem that this can be done. Does anyone know how this could be
    accomplished? I'm really at my wits end...

    Thanks so much in advance!!
    --Erica


  • Next message: ulysses: "Apache 2 mod perl BerkeleyDB Question"