Basic PHP Programming Question:

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

Tweet Share WhatsApp

Answer:

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

Download PHP PDF Read All 139 PHP Questions
Previous QuestionNext Question
WHAT IS THE FUNCTIONALITY OF THE FUNCTIONS STRSTR() AND STRISTR()?How can we send mail using JavaScript?