PHP Switch Statement
When multiple decisions involved in the program at that time we can use else…if ladder but some time it is difficult to read and understand. In addition to this when the numbersRead More…
When multiple decisions involved in the program at that time we can use else…if ladder but some time it is difficult to read and understand. In addition to this when the numbersRead More…
In the previous post we looked upon else…if ladder and in this post we will focus on another form of if statement that is nested if statement. When one if statement containsRead More…
When we have multiple options available or we need to take multiple decisions based on available condition, we can use another form of if statement called else…if ladder. In else…if ladder eachRead More…
If …else statement is an extension of simple if statement. When we have two different path to follow,then simple if statement cannot be useful because if provides a single path to follow.Read More…
Normally in PHP programming language statement are execute in a sequenced manner. Sometime we need to execute some statement based on some specific condition. Depending on the condition either we have toRead More…