<?php
function delete_bu_item( $id ){
$db = new SQLite3('bin/data.db' );
$db_st = $db->prepare('delete from BULIST where BUID=:buid');
$db_st->bindValue(':buid', $id );
$db_st->execute();
if( $db->lastErrorCode()!==0){
return $db->lastErrorCode();
}
}
?>