Combining a sortable table with a checkbox sum output
问题 My current code has a checkbox sum function which takes values from database. I am also trying to apply another Javascript code to my table that allows me to sort the data in the rows. For example, after sorting the rows to display all 5 ACER assets on the top. i want tick the checkboxes of the top 5 displayed ACER assets and sum them. This is my current code: <?php include('connect1.php'); $retrieve = $db->prepare("SELECT count(*) FROM Asset"); $retrieve->execute(); $fetchrow = $retrieve-