I would recommend my AMysql library, which was inspired by all the good parts of PDO, mysqli and Zend Framework 1, but uses mysql_* functions.
https://github.com/amcsi/amysql
It supports PHP 5.2.4+, can execute prepared statements with and without a client name. It is not too small for creating select statements, but it does for deleting, updating, and pasting (it can do several attachments and updates in the same call), and is great for you to determine how you want to get results by to choice.
It is also set by the composer. Here is his page in the folder: https://packagist.org/packages/amcsi/amysql
source share