PHP Operators

Learned that ‘=’ can be used only for assignment of values to variable, i.e. x=3.

If you want to compare to variables in a conditional, you must use ‘==’, i.e. 2==3 is false.

Leave a Reply