<table class='dialog' id="properties"> <tr> <th class='dialog'><?php echo $strCategory; ?> </th> <td class='forms'> <input name='arg' type='hidden' value='add_event' /> <?php $dropdown = new GUI_Select('cat', 1, "check(\"category\")"); $dropdown->addOptionNone(); while ($row = mysql_fetch_row($result)) { $dropdown->addOption($row[1], $row[0]); } $dropdown->addOptionNew(); $dropdown->selectOption($category); $dropdown->printList(); ?> </td> <td> <input type="button" onclick="create_combined()" value="<?php echo $strCreateCombined; ?> "> </td> </tr> <tr> <th class='dialog'><?php echo $strDiscipline;