Posted by mcloide on September 23, 2008
I have finally taken a better look at the class and I have rewrite it in some methods, but the biggest change was the complete adaptation for PHP4 or PHP5.
The class still with the same structure:
- Constructor with a handler to initialize the mysql connection and database selection
- select, insert, update, delete and query methods
- pagination
As a suggestion, if you can, use the PHP5 version. PHP5’s object model is much stronger than PHP4.
Follows the links for downloading the class:
Posted in PHP, development, resources | Tagged: class, hanlder, mysql, PHP, php4, php5 | Leave a Comment »
Posted by mcloide on September 22, 2008

I noticed that the class had a little mistake that would make it not work properly under PHP4 and a little annoying bug that I had on the select method. If you already had downloaded the class, please download this newer version.
Click here to download the newer version: Download
Posted in PHP, development, resources | Tagged: class, handler, mysql, mysql handler class, PHP, php4, resources, update | 4 Comments »
Posted by mcloide on September 4, 2008
Consider the scenario where you have only PHP4, you can’t use PEARL DBManager or even a Zend Framework. Using MySQLi extension from PHP is out of question and you can’t update the server because it will affect all other sites.
Well I got into a situation like that today and I had to modify all my MySQLi Handler class to work this around.
I have created a MySQL Handler class. It will work just like the MySQLi Handler class, but using mysql functions.
If you find yourself in a situation just like the one explained above, this might help.

I noticed that the class had a little mistake that would make it not work properly under PHP4 and a little annoying bug that I had on the select method. If you already had downloaded the class, please download this newer version.
Follow the links for downloading the class:
Posted in PHP, development, resources | Tagged: class, handler, mysql, object, PHP, php4 | 17 Comments »