Matthew J. Kellett

Website Architect and Developer

PHP Code Snippets

Below are the code snippets I have either created or found incredibly useful both during my personal development and commercial career, feel free to comment on any of the code snippets you find here.

Google Plusone iFrame

A quick script that will build you an iFrame version of Google's new Plusone feature

View the code snippet

Passing Post Variables Without Forms

This code snippet is a very simple function that allows you to pass post variables between pages without using a form.

View the code snippet

Convert BR to New Line Characters

This code snippet is a very simple function that allows you to convert the HTML tag <br /> (and other tags) to newline characters

View the code snippet

Like, follow, share us

Code Categories

Use the links below to view each of the different code snippet categories

Latest Code Snippets

Below are the latest code snippets that I have written