📖 generic · 12th TN - English Medium · COMPUTER APPLICATION · Page 114question

Conditional Statements in PHP · Part 4

Chapter 6: Chapter 6 · COMPUTER APPLICATION

a) if-else statement b) if statement c) switch statement d) if-elseif-else statement . How does the if statement work in PHP? a) A block of code is executed if a certain condition is true. b) A block of code is executed if a certain condition is false.

c) A block of code is executed if multiple conditions are true. d) A block of code is executed if multiple conditions are false. . What happens if the condition in an “ if ” statement is false?

a) The code inside the curly braces is executed. b) The code inside the curly braces is skipped. c) The program terminates. d) None of the above

Related topics

Have a question about this topic?

Get an AI answer grounded in your actual textbook — with the exact page reference.

Ask AI about this topic →