Friday, November 16, 2012
Learning PHP - Else . . . Else If
Else
- executes a different statement only if the condition of if statement is FALSE
Else If
- executes a different statement if the condition of if statement is FALSE and only if the else if
conditional expression is TRUE
Else Program Sample:
Output: ( prints the value of $b )
Else If Program Sample:
Output: ( prints the value of $c )
Subscribe to:
Post Comments (Atom)
Popular Posts
-
I spent many hours searching for ways on how to connect Notepad++ to XAMPP. Like the way it is connected to a Web Server on the internet. Bu...
-
Comments - To avoid confusions, getting lost in long lines of scripts or codes, comments are very useful. - They make programs easier to u...
-
Another free gif animation of Dr. Jose Rizal, national hero of the Philippines. To download, right click on the image then click Sa...
-
"Books permit us to voyage through time, to tap the wisdom of our ancestors. The library connects us with the insight and knowledge, ...
-
This is the 100th post. I am going to publish my thoughts on the question: Is the glass half empty or half full? It ...
-
While Loop Execute the statement repeatedly while the expression or condition is TRUE. syntax: while (expression) statement P...
-
New American Standard Version: " Whoever loves discipline loves knowledge, But he who hates reproof is stupid." ...
-
String Concatenation - process of joining two strings together. String - Sequence of characters. Concatenate - to link together, unite ...
No comments:
Post a Comment