I have to delete the unchecked value and new checked values into a database. How to achieve this? Already existed checkbox also will be posted again. But if they uncheck I need to delete. This is my below code:
$already_exist_category = array("68","70")
$newly_posted_category = array("124","125","68") or array("124","125");
How to update or delete and insert the newly posted id into the table?
