PHP-MySQL-lib is an abstraction library for talking to a MySQL database through PHP. This was written so that developers could interact with a database through generic function calls, and should the database ever be switched to another product, the library could be replaced with another library that has the same API, and application code which uses the library would be unaffected.