Answer the question
In order to leave comments, you need to log in
How to properly write an IF condition in PHP?
If the condition matches, you need to display the result
$result['error']['code'] = 4, $result['error']['code'] = 16 or no errors should be displayed if no other errors are displayed.
if ($result['error']['code'] == '4' || $result['error']['code'] == '16' || !isset($result['error'])) {
echo ...
}
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