1. <form action="" method="post">
  2. <div>
  3. <select>
  4. <option>Company 1</option>
  5. <option>Company 2</option>
  6. </select>
  7. </div>
  8. <div>
  9. <input type="text" name="date">
  10. </div>
  11. <div>
  12. <input type="text" name="search">
  13. // Here is where I need to display the results from the db based on what the user typed in a drop down, then when that user selects that item then it will add that records id to an array. Then I need the array to display below and how the records based on the id.
  14. </div>
  15. <div>
  16. // The array is shown here and as the user selects multiple items. It might look something like this
  17. <? $thisarray = array() - as users select items from drop down then the records ids are added to the array. Then as they are added to the array I can use a mysql SELECT to display those records. Then when the user submits the form I can pass that array as well.
  18. </div>
  19. </form>