?> ?filter_data=<?php print $FORM['filter_data']; ?> ">Clear Filter</a>]</span> <?php } ?> <br> <select name="filter_field"> <option value="">Field Name</option> <?php print associate_array_to_html_options($field_names, $FORM['filter_field']); ?> </select> <select name="filter_operator" id="filter_operator"> <?php print associate_array_to_html_options($filter_operators, $FORM['filter_operator']); ?> </select> <input name="filter_data" type="text" id="filter_data" size="15" value="<?php print $FORM['filter_data']; ?> "> <input type="submit" value="Go"></td> </form> <form> <td align="right">Where Statement<br> <input name="where_data" type="text" id="where_data" value="<?php print htmlspecialchars($FORM['where_data']); ?> "> <input type="submit" value="Go"></td> </form> </tr> </table></td> </tr>
function array_to_html_options($associate_array, $selected_item = array()) { return associate_array_to_html_options($associate_array, $selected_item); }