This chapter is from the book
Deleting an Item from a Database
You can delete an item from a database using the dba_delete() function. dba_delete() requires the name of the element you want to remove from the database and a valid DBA resource. It returns true if the item was successfully deleted, and false if the element did not exist to be deleted.
dba_delete( "Tricorder", $dbh );