Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default dynamic image

    hey everyone just a quick and probably stupid question here.

    i have a list of features in my access database that are related to my
    products.
    i was wondeing if it is possible to show a bullet next to each feature that
    has a value and show nothing if the field doesn't have a value.

    I was on a differnt site this morning and some dude told me i should just add
    the <img src> tag into each feature field that has a value. Now, i know that
    this would work. but i know i really don't want to do that.

    any ideas??



    acidrain9 Guest

  2. Similar Questions and Discussions

    1. dynamic image gallery
      I'm trying to create a dynamic image gallery that is updated from a database, i managed to create a simple mysql database using phpmy admin, so I...
    2. Dynamic Image Map (ASP)
      Like most product websites all our product info pages are populated using a database and ASP. Now one of the dynamically generated content is an...
    3. dynamic image map
      Based on certain variable in a javascript, can I somehow hide an image map? I can't seem to be able to target the map.....any thoughts? Thanks ,,...
    4. Dynamic Image?
      Who knows how this is done: http://www.danasoft.com/vipersig.jpg As you can see the signature is dynamical, it uses gdlib I assume and php....
    5. Dynamic image that can be emailed?
      I want to create something on my website that allows the user to arrange image pieces (sort of like a puzzle) and then email the final result to...
  3. #2

    Default Re: dynamic image

    Depending on how many items are in your list you could run 'if' statements on
    the variable for each list item.
    <ul>
    <li>Item</li>
    <?php if (isset($variable)) { ?><li>Feature</li><?php } ?>
    </ul>

    The bullet would be supplied by the <li> tags and could be customized by your
    CSS. If a variable is unset or has no value or is NULL the if statement would
    be false and the list item would not appear. You did not identify a server
    language, for php you can use isset or empty to determine if a variable has a
    value.[url]http://us2.php.net/manual/en/function.isset.php[/url]

    ssosebee Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139