On Wednesday 14 January 2004 06:04, Malte Starostik wrote: > Why is there no modularization in this area, such that it'd be the _normal_ > way not to write things like $dbh = ibase_pconnect( ... ), but $dbh = > sql_connect( "Firebird", ... ) > and that would internally check if a Firebird/InterBase driver is available > and if so, use it. > Surely there are some differences in SQL conformance and syntax extensions, > but even that could be handled by such a layer to some extent.
Whilst there isn't a builtin database abstraction layer in PHP itself there are a number of projects which fills the gap. There's the semi-official PEAR-DB, also ADODB and Metabase. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ /* Will you loan me $20.00 and only give me ten of it? That way, you will owe me ten, and I'll owe you ten, and we'll be even! */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php