PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?
session_start();
if ($_POST['someitem']) //they've selected to delete this item
mysql_query("DELETE from TABLENAME where item_id=" . $_POST['someitem'] . ")
or die ('cannot delete the selected item');
?>