<?php
function delete_bu_item( $id ){
global $g_database_path;
$db = new SQLite3( $g_database_path );
$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();
}
}
?>