PHP Snippets

Every PHP developer needs a good and reliable collection of code snippets. In this category, you will find 900+ copy and paste code snippets that will help in your next PHP project.

Results via Envato Market

MySQL database abstraction layer so you don’t have to hard-code mysql() all over your code. Someone can take this and create a Postgres or interbase version as well.

Inspired by Perl DBI’s built in support to read MySQL options from the standard my cnf I thought I would be nice to have the same support in PHP That’s