Location: PHPKode > scripts > basic_db > basic_db/delete_sample.php
<?

include('basic_db.php');

$db = new Database;
$db->Table_Name('accounts');
$db->doPrint();
$done = $db->delete('user_id', 7);

if($done)
{
	echo "The record has been deleted";
}
else
{
	echo "There was an error deleting the record, please check your conncetion information";
}
?>
Return current item: basic_db