I have a form that will add a book to a database, and the authors of these books should be from the database, so the way I want to do this is to make a php loop that will create a checkbox in the form for each author, so the user can just choose the author using them. My problem now is how to process the form? How do I know which authors the user picked in other words?
What other ways can I approach this problem other than checkboxes? (there are no restrictions, this a personal project I just know php, html, JS and jQuery)
Sorry for not providing any code and I hope I explained it well.
