PHP multiple $_GET
I am using checkboxes to let people select what they want to delete from
database, it can happen that they decide to delete more things at once and
if they do my link looks like :
?delete=24&delete=11
my HTML:
<form>
<input type='checkbox' name='delete' value=" . $row['server_id'] . ">
</form>
What i need to do with it is to delete 1 line from SQL
DELETE FROM TABLE WHERE id=$server_id & name= $name, $con
If it will be just 1 variable I will easy just GET it but right now I am
not sure how to do it, can somebody help me please?
No comments:
Post a Comment