downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

sqlite_column> <sqlite_changes
[edit] Last updated: Fri, 25 May 2012

view this page in

sqlite_close

(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)

sqlite_closeオープンされたSQLiteデータベースを閉じる

説明

void sqlite_close ( resource $dbhandle )

指定したデータベースハンドル db_handle を閉じます。 このデータベースに持続性がある場合、このデータベースは閉じられ、 持続的データベースリストから削除されます。

パラメータ

dbhandle

SQLite データベースリソース。手続きに従って、 sqlite_open() から返されます。

返り値

値を返しません。

例1 sqlite_close() の例

<?php
$dbhandle 
sqlite_open('sqlitedb');
sqlite_close($dbhandle);
?>

参考

  • sqlite_open() - SQLiteデータベースをオープンする。データベースが存在しない場合は作 成する
  • sqlite_popen() - SQLiteデータベースへの持続的ハンドルをオープンする。存在しない場合 には、データベースを作成する



add a note add a note User Contributed Notes sqlite_close
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites