I wonder if there is a useful library or a lightweight structure just for connecting to the database. I need something that allows me to use a MySQL database with prepared operations in a safe way, without thinking twice about gcc_magic_quotes and the like. It would be nice to have something object oriented, with some convenience when retrieving data from a database. I do not want to use a giant infrastructure like cake or symfony. It should be something really easy, just for this purpose.
Please, if you recommend something, write a little about this pros and cons. That would be great! Thanks everyone!
source
share