Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="" method="post">
- <div>
- <select>
- <option>Company 1</option>
- <option>Company 2</option>
- </select>
- </div>
- <div>
- <input type="text" name="date">
- </div>
- <div>
- <input type="text" name="search">
- // 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.
- </div>
- <div>
- // The array is shown here and as the user selects multiple items. It might look something like this
- <? $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.
- </div>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement