During March I wrote a post about a simple class that I use when I need to communicate with a MySQL database in PHP 5.
Now it’s time to release version 0.2 of that class.
There are two changes from the past version:
- some bugs fixed;
- added a new method named “count“.
The new method is designed to count the occurrences of “something” “somewhere”
so when you need to do something like:
SELECT COUNT(some columns) FROM some tables WHERE some conditions;
you can simply type (assuming you have created a $database object before):
$database->count("some columns", "some tables", "some conditions");
Enjoy








0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment