if Statement
if, elseif, and else statements in PHP are used to perform different actions based on different conditions.
if...else statement—use this statement if you want to execute a set of code when a condition is true and another if the condition is not true.
elseif statement—is used with the if...else statement to execute a set of code if one of several condition are true.
if...else Statement
|
|
gmdate function formats a local time/date.