I have basically coded a code which populates a list of categories from my database then you are able to select which to delete.
I have the issue with the delete cod
Others have shown the issue of the missing ) in the expression, but empty() will check isset() so that is redundant. Just check empty():
)
empty()
isset()
if(!empty($_POST['delete_id'])) {