All posts by lcotnoir
PHP – Lesson 06: Constants
What Are Constants?
The Unchanging “Variable”
While a “constant” is not a specific data type, it is a type of variable. Specifically, it is a variable that is not changeable. Here are some hard and fast rules about constants: Continue reading PHP – Lesson 06: Constants
PHP – Lesson 05: Booleans and NULL
Booleans
True vs. False
A Boolean is a data type with either one of two values: true or false. These values, true and false, are NOT strings; they are instead logical operators which are case insensitive and are declared without quotations. They represent the concept of true or false, yes or no, 0 or 1, on or off (an so forth). Continue reading PHP – Lesson 05: Booleans and NULL
PHP – Lesson 04: Arithmetic Operators, Integers, and Floats
PHP Calulations
Arithmetic Operators
There are seven essential arithmetic operators: Continue reading PHP – Lesson 04: Arithmetic Operators, Integers, and Floats