I am using PHP and MySql. I have two listboxes on my form. One is a list of values I have entered (listbox1) the other is a list coming from the database (listbox2). What I want to do is only show data in listbox2 that corresponds to the item I select from listbox1.
example from listbox 1 is something like this:
Description: Acquisitions
Value: 05
from database:
Description: Purchases
Value: 05
Description: Sales
Value: 05
I have various items in the database that would correspond to the value shown in listbox 1 and I only want to show those items...How can I do this?