<fieldset style="margin:5px 0px 5px 5px;"> <legend><b>Edit Image Details</b></legend> <div style="margin-top:2px;"> <b>Caption:</b> <input name="caption" type="text" value="<?php echo $imgArr["caption"]; ?> " style="width:250px;" maxlength="100"> </div> <div style="margin-top:2px;"> <b>Photographer User ID:</b> <select name="photographeruid" name="photographeruid"> <option value="">Select Photographer</option> <option value="">---------------------------------------</option> <?php $imgManager->echoPhotographerSelect($imgArr["photographeruid"]); ?> </select> * Users registered within system <a href="#" onclick="toggle('iepor');return false;" title="Display photographer override field"> <img src="../images/editplus.png" style="border:0px;width:12px;" /> </a> </div> <div id="iepor" style="margin-top:2px;display:<?php echo $imgArr["photographer"] ? 'block' : 'none'; ?> ;"> <b>Photographer (override):</b> <input name="photographer" type="text" value="<?php echo $imgArr["photographer"]; ?>