PHP Basics – Syntax for Dummies

Posted April 23rd, 2009 in PHP, Programming by Aaron

There is a lot of PHP specific syntax that every PHP programmer uses in their day to day work, that everyone has just learned that it is the way it is meant to be. But, to truly be able to go through, read someone’s code and truly understand it, you need to know exactly what the syntax means, and why it’s formatted that way. Throughout this small post, there are just some thoughts and practices for coding using the PHP syntax.

Continue Reading »

PHP Basics – The Array

Posted April 20th, 2009 in PHP, Programming by Aaron

One of the fundamental variable types, yet one of the more complex when you are beginning, is the Array. The array just takes a little bit to wrap your mind around, or maybe a good analogy as to exactly what it is doing.

You can pretty much think of an array as a mini-storage unit for variables, someplace to order them, keep them in one space, and reference them by name dynamically. There are more advanced ways to do some of this as well but arrays are a good starting point.

Continue Reading »