I'm developing a PHP application that deals with scheduling music lessons.
In my application, I have these two variables that I use a lot for filling <select> lists:
$instrument_list = <option value='Guitar'>Guitar</option><option value='Piano'>Piano</option>; $teacher_list = <option value='Fake McTest'>Fake McTest</option<option value='John Smith'>John Smith</option>
My problem is that there is one form in my application where I would like have two <select> lists...
The first list is static:
<select name='filter' id='filter' onchange='update_filter()'> <option value=' '>Select</option> <option value='instrument'>Instrument</option> <option value='teacher'>Teacher</option> </select>
The second list is dynamic (but still client-side):
<select name='search_term' id='search_term'> </select>
Thanks a bunch,