note 50606 added to function.dbx-connect

From: Date: Fri, 04 Mar 2005 14:50:55 +0000
Subject: note 50606 added to function.dbx-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-85922@lists.php.net to get a copy of this message
I have been using dbx for a product at work and the need to use SQLite as a database popped up. However, I couldn't find any references to using it with dbx other than that you could and since SQLite doesn't seem to do the username password thing I was a little confused as to how to use it in dbx. With a little research it seems that when using dbx_connect you only need to fill in the module name ('DBX_SQLITE') and the database (the file name for the database!) to get it working. e.g. $link = dbx_connect(DBX_SQLITE, "", "some.db", "", ""); thought someone might find it useful, especially since it no longer required additional dll's in version 5.x ---- Manual Page -- http://www.php.net/manual/en/function.dbx-connect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50606 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50606&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50606&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50606&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50606&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50606&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50606&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85922) next »