- Edited
just thought id post the code for other usersopen.php $var=$vars=0; //Just Making sure we don't accept crap...only topicId is expected. to $vars=0; //Just Making sure we don't accept crap...only topicId is expected.include\client\open.inc.php <div> <label>Department: <span class="required">(required)</span></label> <select id="deptId" name="deptId"> <option value="" selected="selected">— Select your Department —</option> <?php if($depts=Dept:()) { foreach($depts as $id =>$name) { if ($id != 1) { echo sprintf('<option value="%d" %s>%s</option>', $id, ($info==$id)?'selected="selected"':'', $name); } } } else { ?> <option value="0" >Support Dept</option> <?php } ?> </select> <font class="error">* <?php echo $errors; ?></font> </div>we use department as a location for what region around Australia.