This is rather hard to explain. I have a table that looks like this model:
myTable: id, program
A <SELECT> contains all the IDs and I put a hidden tag for program. Ideally, when you select a id, it starts a onchange procedure and program will update via a query:
"SELECT program FROM mytable WHERE id = $id"
I have no idea how to work javascript to doing mysql queries. Does anybody know what would be the best way to get around to doing this?
myTable: id, program
A <SELECT> contains all the IDs and I put a hidden tag for program. Ideally, when you select a id, it starts a onchange procedure and program will update via a query:
"SELECT program FROM mytable WHERE id = $id"
I have no idea how to work javascript to doing mysql queries. Does anybody know what would be the best way to get around to doing this?