Basic PHP Programming Question:

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

PHP Interview Question
PHP Interview Question

Answer:

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


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