I wrote a nice little library to handle simple database queries easily.
It uses mysqli, so you need to have it enabled on your server.
You can find everything inside a simple adapter needs. Perfect for small projects, especially if you do not want to use huge frameworks just to get some rows from a table.
To use it, just include it and initialize it with required DB connection data.
$db = new DBHandler(array( 'server' => 'localhost', 'user' => 'root', 'pass' => '', 'database' => 'myDB' ));
If you have any questions regarding this library, just comment or write me an email.