Basic PHP Programming Question:
Download Questions PDF

When are you supposed to use endif to end the conditional statement?

Answer:

When the original if was followed by : and then the code block without braces.

Download PHP Interview Questions And Answers PDF

Previous QuestionNext Question
WHAT IS THE FUNCTIONALITY OF THE FUNCTIONS STRSTR() AND STRISTR()?How can we send mail using JavaScript?