Computer Science, asked by kanuthakur58, 6 months ago

Q1)Explain if statement in PHP with example?
Q2)Explain do- while loop in PHP with example?​

Answers

Answered by rathodrudra17508
0

Answer:

gas stations in the Legislative body and down the road to the city of New York city

Answered by SonalRamteke
2

Explanation:

" I hope I help you "

  1. PHP Conditional Statements
  2. if statement - executes some code if one condition is true. if...else statement - executes some code if a condition is true and another code if that condition is false. ... switch statement - selects one of many blocks of code to be executed
  3. With a do-while loop the block of code executed once, and then the condition is evaluated, if the condition is true, the statement is repeated as long as the specified condition evaluated to is true. while(condition); The following example define a loop that starts with $i=1 ..
Similar questions