I have a table which show data from mysql database in HTML table like this:

then I want to show like this with checkboxes:

after that user select some rows and submit then the selected rows shown in the next page so how could it be done in php with HTML.
This will get you started:
On the submitted page there will be an array you can access with the selected
s_novalues