The comparison (or relational) operators work on two values or arrays. Comparisons can be done using the following operators:
|==||Equal (Remember a single '=' is used for assignment)|
|<=||Less than or equal|
|>=||Greater than or equal|
Each comparison operator returns a Boolean value true or false (1 or 0) based on the comparison result. The returned value can then be used, for example, in a conditional statement.
Your donations will help keep this free service running.