Hello everybody,
I have two listbox called availableValues and selectedValues.I can add multiple values and view them and it works fine.Now when i click on the edit button on my form i get the listboxes filled with their values respectively from the DB.And this works fine.Now my problem is how can i update the selectedValues listbox, when i remove or add values in it.please help i am desperate to make this work.i will appreciate your time and help.
the database sturture is like this
TABLE `groups
`groupID
`interface
`groupname
PRIMARY KEY (`groupID
)
TABLE `group_members
`groupMemberID
`groupID
`hostID
PRIMARY KEY (`groupMemberID
)
CREATE TABLE `host
`hostID
`name
`user_id
PRIMARY KEY (`hostID
)