function CreateCustomerDropdownList() { $customerModel = new CustomerModel(); $result = "<form action = '' method = 'post' width = '200px'>\n <p> Please select a ID: </p>\n <select name = 'types' >\n <option value = '%' >All</option>\n " . $this->CreateOptionValues($customerModel->GetCustomerTypes()) . "</select>\n <input type = 'submit' value = 'Search' />\n </form>"; return $result; }