using php to show particular part of page

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

  1. #1

    Default using php to show particular part of page

    I have a particular section of a page that I need to display if the variable
    being passed is a certain name. The the particular block of code that needs to
    be shown is attached below. My variable called $values is the variable that
    gets the passed style name. Any help would be appreciated

    <tr>
    <td class="description">Available Colors</td>
    </tr>
    <tr>
    <td align="left"><img src="<?php echo $row_colorsPic['path']; ?>" /></td>
    </tr>

    eddo32 Guest

  2. Similar Questions and Discussions

    1. Can't edit part of page
      I've set up an asp page in Dreamweaver that pulls in results from a database. My client needs to edit the right hand side of this page, but can't...
    2. bitmap inside canvas, do not show outside part
      Hi, I have a canvas object in my app: <mx:Canvas id="canvas".../> Then in my actionsript, I use the following code to show a bitmap: var...
    3. only show part of a dynamic text field
      ok i have this description field put in dynamically on my site but i only wnat the first 120 chars to show and thne ill put a link saying click here...
    4. How to show added on visible part of data grid.
      hi, I met a problem. There is a data grid, I can add new item on it. At beginning, there are little items on data grid, so you can see all of...
    5. how to show part of a field?
      I have a web page with messages. I want to show the list of the messages only with part of them, for example the first 30 letters/characters. Now...
  3. #2

    Default Re: using php to show particular part of page

    <?php if($values == "value"){ ?>
    <tr>
    <td class="description">Available Colors</td>
    </tr>
    <tr>
    <td align="left"><img src="<?php echo $row_colorsPic['path']; ?>"
    /></td>
    </tr>
    <?php } ?>

    Where == is 2 equal signs


    --
    Gareth - TMM Dreamweaver
    [url]http://www.dreamweavermxsupport.com/[/url]
    [url]http://www.garethdp.com/[/url]

    PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
    [url]http://www.phploginsuite.co.uk/[/url]

    Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
    Co-Author: Practical Intranet Development - Apress
    Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
    Co-Author: Dreamweaver MX: PHP Web Development - Wrox


    gareth 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