note 109997 added to intro.sqlite3

From: Date: Sun, 09 Sep 2012 14:16:31 +0000
Subject: note 109997 added to intro.sqlite3
Groups: php.notes 
Request: Send a blank email to php-notes+get-190593@lists.php.net to get a copy of this message
pomax at nihongoresources states "the PDO class does not come with a function for closing a connection" and as a result I see lots of people coding using the technique he describes. Yet here is the proper way according to the documentation which clearly uses a "close". http://www.php.net/manual/en/sqlite3.close.php <?php $db = new SQLite3('mysqlitedb.db'); $db->close(); ?> Maybe promax's suggestion should be removed? ---- Server IP: 69.147.83.197 Probable Submitter: 173.55.152.240 ---- Manual Page -- http://www.php.net/manual/en/intro.sqlite3.php Edit -- https://master.php.net/note/edit/109997 Del: integrated -- https://master.php.net/note/delete/109997/integrated Del: useless -- https://master.php.net/note/delete/109997/useless Del: bad code -- https://master.php.net/note/delete/109997/bad+code Del: spam -- https://master.php.net/note/delete/109997/spam Del: non-english -- https://master.php.net/note/delete/109997/non-english Del: in docs -- https://master.php.net/note/delete/109997/in+docs Del: other reasons-- https://master.php.net/note/delete/109997 Reject -- https://master.php.net/note/reject/109997 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#190593) next »