-
Learning PHP – Part 3: Array basics
Posted on October 26th, 2009 No commentsIn part 2, you were introduced to the concept of variables and the string, integer and floating point types. In part 3 we’ll go through a more advanced type; the array.
-
Learning PHP – Part 2: Variable Basics
Posted on October 25th, 2009 1 commentAfter part 1, you should be familiar with the echo statement, which outputs a string to the browser:
echo 'This is a string';
(Note that from now on the opening (<?php) and closing (?>) PHP tags are omitted from examples, but should still be included in any source code you create)
On its own, it does not appear to be useful; after all we could have just written ‘This is a string’ in HTML for the same effect. The real power comes from using PHP variables.
Read the rest of this entry » -
Learning PHP – Part 1: Introduction
Posted on October 24th, 2009 2 commentsSo, you’ve got to grips with the basics of HTML and CSS, and now you want to actually make your web page do something? Well, PHP is a great way to do that. In this series of blog posts, I will introduce the PHP language and teach many useful techniques that are used in professional PHP development.



