Answer the question
In order to leave comments, you need to log in
How does if/else work in php?
There are two variables $first
and $second
, containing the values 0
or 1
.
if ( $first OR $second ) {
// Условие выполняется
} else {
// Условие не выполняется
}
$first == 1
, and $second == 0
, or vice versa. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question