It is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP's MySQL extension.
The class provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP's default ones.
Zebra_Database provides a comprehensive debugging interface with detailed information about the executed queries like excerpts of the found rows, execution time, returned/affected rows, error messages, etc..
It also automatically EXPLAIN's each SELECT query (so you don't miss those keys again!).
It encourages developers to write maintainable code and provides a better default security layer by automatically escaping strings.
Zebra_Database's code is heavily commented and generates no warnings/errors/notices when PHP's error reporting level is set to E_ALL.
· PHP 5 or higher
· MySQL 4.1.22 or higher
What's New in This Release: [ read full changelog ]
· Fixed a bug when specifying custom paths for the “write_log” method.
· Fixed an issue where setting “cache_path” to a path without trailing slash would break the script.
· Fixed an issue where setting the caching time to 0 would still create (empty) cache files.
· The JS and CSS files used by the debugger window are now loaded “protocol-less” in order to solve those.