Lecture 20: Comparison Operators
At this point, we've been playing with PHP Variables, Arrays, and If Statements. In nearly every lecture so far, we've seen the "=" symbol. You probably have a basic understanding that it sets a value to a variable, like so:
$myName= "Brad";
In the PHP world, the = symbol is called an "assignment operator". It basically "assigns" the value on the right to the variable on the left. There are many assignment operators, but we'll get into those once we've been introduced to the many other types of operators in PHP.
First, we will start with the "comparison operator".
DOWNLOAD COURSE FILES HERE
[ Ссылка ]
Ещё видео!