Conditional Statements

Comparison Operators

Comparison operators are used to create conditional expressions that evaluates to either TRUE or FALSE. Equals Operator (==) == is known as the ‘equals’ operator. It checks for the equality of its two operands. If both operands are equal in their values, the expression evaluates to TRUE. If two operand values are different from each… read more »

Conditional Statements

PHP’s IF statement enables you to perform different actions based on the results of evaluating some condition. For an example think of a login feature of some website. When you enter the username and a password, the login page checks to see if the username/password combination is correct or not. If the combination is correct… read more »

Sidebar



Do NOT follow this link or you will be banned from the site!