Q26
What will be the output of the following PHP code ?
A.
hi
B.
hello
C.
error
AnswerD.
no output
Answer: Option C
Solution
Answer: Option C
Solution:
The if statement has no brackets and it expects a else/else if after a if.