Answer & Solution
Answer: Option A
Solution:
The
if-else statement
in PHP is used to execute a block of code based on the evaluation of a single condition. To evaluate multiple conditions, the if-else
statement can be combined with the elseif
statement.