I am having a cart page where users can checkout after purchasing the products/medicines. I am having a button named checkout on that page. After clicking that button "CheckOut" I want to update multiple records in MySQL from JavaFX after clicking that button. I want the quantity of each item/medicine in the tableView to decreased according to the quantity purchased. I have tried putting the query in for loop I tried to selectAll from the table view. I will provide the code I wrote and a screenshot from the JavaFX tableView with the buttons. Any help is appreciated. Thanks for your time and cooperation from now.
Is that a spider in your hair? Here, threaten it with this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners