ezSQL - A tool to simplify database access
Recently, I have discovered this great tool called ezSQL by Justin Vincent.
It basically simplifies your database access tasks. Installation is as simple as copying the ezSQL files into your application directory. The Wordpress database classes are also based on ezSQL.
Connecting to the database is as simple one line command:
$db = new ezSQL_mysql($username,$password,$db,$server);
Getting a resultset from a query is as simple as:
$results = $db->get_results($sql);
If you do a lot of database programming it would definitely be worth checking out this class.
Leave a Comment
Your Comment