note 87264 modified in function.dba-exists by danbrown
| From: | danbrown@php.net | Date: | Thu, 27 Nov 2008 17:06:23 +0000 |
| Subject: | note 87264 modified in function.dba-exists by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147043@lists.php.net to get a copy of this message | ||
<?php
$index = 4;
$id = dba_open("frenzy.db", "w", "flatfile");
if(!$id) exit ("Some error...");
if(dba_exists($index, $id)) exit ("This key is using");
dba_close($id);
?>
--was--
<?php
$index = 4;
$id = dba_open("frenzy.db", "w", "flatfile");
if(!$id) exit ("Some error...");
if(dba_exists($index, $id)) exit ("This key is using");
dba_close($id);
http://php.net/manual/en/function.dba-exists.php