Page 1 of 1

Diff of adodb in php vs the standard?

Posted: Sun Mar 20, 2011 10:54 am
by tang3li2
hi, i hope i'm in the right forum to ask this, i hope so..
well, i'm currently studing PHP and i cross with this adodb connection in php, and isee a lot of code on it, connecting to diff. database ( eg. mysql, postgress ) and now i'm confuse what's the diff of using adodb rather than using the standard connecting to database ( mysql_connect(), mysql_select(), etc. etc. )..
Can somebody point me a direction of this confusing thought of mine, i really really appreciated.. Thanks in advance :D

Re: Diff of adodb in php vs the standard?

Posted: Sun Mar 20, 2011 11:45 am
by Jonah Bron
ADOdb is a library for making working with the database easier, and to abstract the interface to the database. This allows you as the developer to easily switch to another database without modifying all of your code. You just tell it to connect to a different database. More info at their site here:

http://adodb.sourceforge.net/