PHP Basics – The Operators (Part 2)

Posted April 21st, 2009 in PHP, Programming by Aaron

In our first section, we talked about the multiple ways that you can use the equals sign to assign variables or compare them, based on value and type. In part 2 of this series, we are going to dive deeper into the comparison operators, and exactly how they function. There is a lot of basic programming concepts here, but where better to start than the basics.

Continue Reading »

PHP Basics – The Operators (Part 1)

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

Coming into PHP fresh, you may notice a few things that don’t exactly line up with some of the other programming languages out there. In this initial “Operators” post, I am going to talk a little bit about the different operators that are available for people programming in PHP. There are different ways to compare and assign variables, as well as the reasons you might want to use each of these. It’s a good springboard or starting point for starting to understand PHP.

Continue Reading »