Posted: Mon Oct 23, 2006 10:14 am
sorted thanks to all that helped me
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$ids = join(',', array_map('intval', $_POST['checkbox']));
$query = "DELETE
FROM
`$tbl_name`
WHERE
`id` IN($ids)";
$result = mysql_query($query) or die(mysql_error($link). ': '.$query);