Warning: file_put_contents(): Only -1 of 51 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
dbase_add_record dbase_create dBase PHP Manual dbase_close (PHP 4, 5) — Closes a database 설명 bool ( int $dbase_identifier ) the given link identifier. 매개변수 dbase_identifier The identi...
Forum und email

dbase_close

(PHP 4, PHP 5)

dbase_close — Closes a database

설명

bool dbase_close ( int $dbase_identifier )

Closes the given database link identifier.

매개변수

dbase_identifier

The database link identifier, returned by dbase_open() or dbase_create().

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.

예제

Example#1 Closing a dBase database file

<?php

// open in read-only mode
$db = dbase_open('/tmp/test.dbf', 0);

if (
$db) {
  
// read some data ..
  
  
dbase_close($db);
}

?>