<?php
include ('registry.php');
$reg = new registry('test.db');
$reg->setValue('site_title', 'mysite');
$reg->setValue('site_slogan', 'myslogan');
echo $reg->getValue('site_title');
echo '<br />'.$reg->getValue('site_slogan');
$reg->dropKey('site_slogan');
?>
|