expand test: see if another insert fails

This commit is contained in:
Marcus Boerger 2002-11-07 23:03:58 +00:00
parent 39876b881b
commit 78857eb9d4

View File

@ -8,6 +8,7 @@ DBM Insert/Replace/Fetch Test
if (dbmopen($db_file, "n")) {
dbminsert($db_file, "key1", "This is a test insert");
dbmreplace($db_file, "key1", "This is the replacement text");
@dbminsert($db_file, "key1", "This is another replacement text?");
$a = dbmfetch($db_file, "key1");
dbmclose($db_file);
echo $a;