"></span></td> <td> <div class="divFormControl"> <select id="selectFWtable" class="fullWidth ui-widget-content ui-corner-all" onchange="Test.uiRefreshExtendedFunctionWizard('<?php echo $name; ?> ')"> <option value="0"><<?php echo Language::string(73); ?> ></option> <?php $sql = sprintf("SELECT * FROM `%s`.`%s` ORDER BY `name` ASC ", $db, Table::get_mysql_table()); $z = mysql_query($sql); while ($r = mysql_fetch_array($z)) { $t = Table::from_mysql_result($r); ?> <option value="<?php echo $t->name; ?> " <?php echo $t->name == $table_name ? "selected" : ""; ?> ><?php echo $t->id . ". " . $t->name; ?> </option> <?php } ?> </select>