note 20713 added to function.dbx-connect

From: Date: Sat, 13 Apr 2002 14:28:51 +0000
Subject: note 20713 added to function.dbx-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-29192@lists.php.net to get a copy of this message
how can dbx be called an abstraction when you still have to specify the database you want to use when calling the dbx functions........specify which database to use shouldn't be specified in each dbx function called, but in only ONE place. then, if the need to switch databases is in need, they will only have to change it in one place instead of changing it in all the php files that has these dbx functions.......it defeats the purpose of its main objective of hiding the database and re-editing all the php code.. -- http://www.php.net/manual/en/function.dbx-connect.php http://master.php.net/manage/user-notes.php?action=edit+20713 http://master.php.net/manage/user-notes.php?action=delete+20713 http://master.php.net/manage/user-notes.php?action=reject+20713

« previous php.notes (#29192) next »