Note that the memory is lost after doing this. If you had a key 'foo' with a value of 1000 bytes, that 1000 bytes is lost, and the DB file size will reflect this.
dba_delete
(PHP 4, PHP 5)
dba_delete — حذف ورودی DBA مشخص شده توسط کلید
Description
bool dba_delete
( string $key
, resource $handle
)
dba_delete() ورودی مشخص شده از پایگاه داده را حذف میکند.
Parameters
- key
-
کلید ورودی برای حذف شدن.
- handle
-
هندلر پایگاه داده بازگردانده شده توسط dba_open() یا dba_popen().
Return Values
Returns TRUE on success or FALSE on failure.
See Also
- dba_exists() - بررسی وجود کلید
- dba_fetch() - Fetch data specified by key
- dba_insert() - Insert entry
- dba_replace() - جایگزینی یا وارد کردن ورودی
swain at panix dot com ¶
11 years ago
