PHP

Explore PHP, one of the most popular Web programming languages in use today. Learn how PHP works and how to write useful PHP scripts and applications.

Topics in PHP

PHP Arrays

These articles explain how arrays work in PHP, and show how to create and manipulate arrays.

PHP Functions

Learn all about PHP functions: How to create your own functions, how variable scope works, the concepts of references and recursion, and more!

PHP Objects

Learn about object-oriented programming in PHP. These tutorials show you how to use PHP classes and objects to build robust object-oriented code.

PHP Strings

Learn how to create and manipulate PHP strings, and how to use common PHP string functions.

Articles in PHP

How to Add Image Uploading to Your CMS - Intermediate Tutorial 31 May 2012

Learn how to modify a PHP and MySQL content management system so that you can upload an image for each article. Full CMS code download included.

How to Add Article Categories to Your CMS - Intermediate Tutorial 25 January 2012

Learn how to modify a PHP and MySQL content management system to include support for article categories. Full CMS code download included.

How to Make a Slick Ajax Contact Form with jQuery and PHP - Intermediate Tutorial 1 April 2011

This tutorial shows you how to build a nice-looking, smooth contact form that visitors can use without having to leave the page they're reading.

JSON Basics: What You Need to Know - Intermediate Tutorial 24 March 2011

What is JSON, and what can it do? In this tutorial you learn how to use JSON to easily move data around the web. You also look at how to work with JSON using both JavaScript and PHP.

Build a CMS in an Afternoon with PHP and MySQL - Intermediate Tutorial 21 January 2011

Learn how to build a complete content management system using PHP and MySQL in just a few hours. Full code download included.

PHP References: How They Work, and When to Use Them - Intermediate Tutorial 19 November 2010

Learn how to create and use variable references in PHP with this handy tutorial. Lots of code examples included.

How We Redesigned Elated.com: The Build Process - Article 17 June 2010

Matt takes a journey from PSD to HTML (via CSS and PHP) to show how he built Simon's new design for Elated.com.

Create Nice-Looking PDFs with PHP and FPDF - Intermediate Tutorial 26 February 2010

Learn how to use the free FPDF library to produce great-looking PDF documents from within your PHP scripts. Full example included.

PHP For Loops - Beginner Tutorial 24 August 2009

PHP for loops are handy for running a block of code a set number of times. Learn how to use PHP for loops in this beginner tutorial.

PHP While Loops - Beginner Tutorial 10 August 2009

PHP while loops let you run a piece of code again and again. Learn how to use PHP while loops and do...while loops in this beginner tutorial.

The PHP elseif Statement - Beginner Tutorial 27 July 2009

Learn how to use the PHP elseif statement with this easy-to-follow PHP tutorial.

Making Decisions with the PHP if Statement - Beginner Tutorial 14 July 2009

Learn how to use the PHP if statement to make decisions in your scripts. Also covers the PHP else statement.

PHP Comments - Beginner Tutorial 3 July 2009

Learn how to write PHP comments, and how to comment your PHP code effectively, in this easy-to-follow PHP tutorial.

PHP Data Types - Intermediate Tutorial 9 June 2009

Lists and explains all PHP data types, and shows how to read and change data types. Also looks at PHP's loose typing.

PHP Operators - Beginner Tutorial 1 June 2009

Learn how to use PHP operators in your scripts. This article explores common PHP operators and looks at operator precedence.

PHP Constants - Beginner Tutorial 25 May 2009

Learn how to create PHP constants with define(), as well as how to use constants in your PHP scripts. Also looks at predefined constants.

PHP Variables - Beginner Tutorial 18 May 2009

This article explains PHP variables, and shows how to create, change, and use variables, as well as how to name PHP variables.

Writing Your First PHP Script - Beginner Tutorial 11 May 2009

Learn how to get started with PHP programming. This beginner tutorial walks you through the process of writing a simple PHP script and shows how PHP scripts are put together.

What is PHP? - Beginner Tutorial 29 April 2009

What is PHP, and what can you do with it? This gentle PHP introduction explains the basics of PHP and looks at how you can use it to build feature-rich Web pages and applications.


Follow Elated