I've got a page that has a simple one checkbox form with a submit button for users to mark that item as "want to play."
Given the simplicity, I'd like to replace it with a single DIV and graphic of a toggle button or switch or something, so that users can click it to mark, but not have to bother with the silly single checkbox and submit button, which is rather ugly.
The short and quick solution I can think of is for the div to be a link like
markme.php?id=XYZ&user=123
that pops the flag into the database for that user and then redirects back to the page they were viewing.
Would that be reasonable? Is there a better way?
/me is an enthusiastic beginner