I need help getting my delete button to work on my inventory_list. The inventory table has 7 columns: itemNum(pk), year, model, price, typeID(fk), makeID(fk), and classID(fk). index.php: inventoryDB.php: prepare($query); if (!empty($typeID)) { $statement->bindValue(':typeID', $typeID); } if (!empty($makeID)) { $statement->bindValue(':makeID', $makeID); } if (!empty($classID)) { $statement->bindValue(':classID', $classID); } $statement->execute(); $inventory = $statement->fetchAll(); $statement->closeCursor(); return $inventory; } function add_to_inventory($typeID, $makeID, $classID, $year, $model, $price) { global $db; $query = 'INSERT INTO inventory (typeID, makeID, classID, year, model, price) VALUES (:typeID, :makeID, :classID, :year, :model, :price)'; $statement = $db->prepare($query); $statement->bindValue(':typeID', $typeID); $statement->bindValue(':makeID', $makeID); $statement->bindValue(':classID', $classID); $statement->bindValue(':year', $year); $statement->bindValue(':model', $model); $statement->bindValue(':price', $price); $statement->execute(); $statement->closeCursor(); } function delete_inventory($itemNum) { global $db; $query = 'DELETE FROM inventory WHERE itemNum = :itemNum'; $statement = $db->prepare($query); $statement->bindValue(':itemNum', $itemNum); $statement->execute(); $statement->closeCursor(); } ?> inventory_list.php: View by Make, Type, or Class:View All Types> View All Classes> View All Makes> > Price> YearYearModelPriceTypeMakeClass $.00 Add/Delete Makes Add/Delete Types Add/Delete Classes Add Vehicle.