Hi everyone im trying to edit the code on open.inc.php file, where the help topics display but i cannot create properly a new dropdown list when i find a sub topic. What I do is to find by strtok() function the slashes '/' and add a new dropdown but im not very good at coding. When i choose the subtopic dropdown my ticket creates with the 'father' topic id.This is my code so far. Can anybody help me explain what does the sprint codeline do? or help me implement the request? my osTicket version is the latest release<td colspan="2"> <select id="topicId" name="topicId" onchange="javascript: var data = $('', '#dynamic-form').serialize(); $.ajax( 'ajax.php/form/help-topic/' + this.value, { data: data, dataType: 'json', success: function(json) { $('#dynamic-form').empty().append(json.html); $(document.head).append(json.media); } });"> <option value="" selected="selected">— <?php echo __('Select a Help Topic');?> —</option> <?php if($topics=Topic:()) { foreach($topics as $id =>$name) { if ((10%$id ==10)&&($id%10!==0)) { //only show the subtopics on new select tag $token =$name; $token=strtok($name, '/'); echo sprintf('</select><select>'); while ($token!==false) {//show all subtopics echo sprintf('<option value="%d" %s>%s</option>', $id, ($info==$id)?'selected="selected"':'', $token); $token=strtok('/'); } echo sprintf('</select>'); }else{//no subtopics, normal topics printing on option tag echo sprintf('<option value="%d" %s>%s</option>', $id, ($info==$id)?'selected="selected"':'', $name); echo sprintf('</select>'); } } } else { ?> <option value="0" ><?php echo __('General Inquiry');?></option> <?php } echo sprintf('</select>');?> <font class="error">* <?php echo $errors; ?></font> </td>Thanks!