Hmm, for passing the table name as an ID, do you mean creating a variable for that?
In the script now where the delete button is shown, the user has the option to view a ban list from a few different tables using a switch:
So basically with that code, I should just add in this?
Also, how would I get ID's of each row? I was thinking maybe assigning them in the while loop like so:
Something like that? But then how would I use that data on the delete_ban.php without running that same while loop on it? Since that id isn't recorded into the sql table.
Or am I totally thinking of this in a wrong way? hahaha.