Tuesday, January 30, 2007

MysqlConnect

Working with PHP and MySQL databases, one is bound to get sick and tired of all those awful mysql_* functions. To avoid that I have made a very simple and basic adapter class that hides all the tedious details for me. In addition, it will also help reducing the number of active connections to the database. If used correctly there will only be one connection open to the mysql database per page view.

Download mysqlconnect.php

No comments: