note 95108 added to function.odbc-connect
| From: | Mika at osu1 dot php dot net | Date: | Mon, 14 Dec 2009 09:26:53 +0000 |
| Subject: | note 95108 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163916@lists.php.net to get a copy of this message | ||
To connect a SQLite database in Linux I used the following function call
<?php $db = odbc_connect('Driver=SQLite3;Database=' . Database::DATABASE, '',
'') or die('could not open database!'); ?>
In Debian or Ubuntu package libsqliteodbc is requried. Check /etc/odbc.ini and /etc/odbcinst.ini.
----
Server IP: 69.147.83.197
Probable Submitter: 192.16.134.69
----
Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php
Edit -- https://master.php.net/note/edit/95108
Del: integrated -- https://master.php.net/note/delete/95108/integrated
Del: useless -- https://master.php.net/note/delete/95108/useless
Del: bad code -- https://master.php.net/note/delete/95108/bad+code
Del: spam -- https://master.php.net/note/delete/95108/spam
Del: non-english -- https://master.php.net/note/delete/95108/non-english
Del: in docs -- https://master.php.net/note/delete/95108/in+docs
Del: other reasons-- https://master.php.net/note/delete/95108
Reject -- https://master.php.net/note/reject/95108
Search -- https://master.php.net/manage/user-notes.php