Comment on Tutorial - How to make one else for two ifs in PHP By Marcin
Comment Added by : Marcin
Comment Added at : 2012-04-05 02:34:13
Comment on Tutorial : How to make one else for two ifs in PHP By Marcin
@bibiki, you are right for simpler conditions what you have said is true. But for some unique cases where you need something equivalent to switch-case construct, where you have multiple cases but ONE default condition, then this type of situation requires same code in multiple else conditions. So this is just another method if someone has this unique requirement
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. i should say, a lot of thank you because of this s
View Tutorial By: merven at 2009-03-17 09:45:39
2. thankx a lot...i've been trying so hard to learn t
View Tutorial By: bhuwan at 2009-04-08 23:30:45
3. i would like to ask that what is the history of a
View Tutorial By: Ankit at 2011-02-07 09:56:21
4. could you please send me a complete appointment re
View Tutorial By: Jaylon aron at 2010-02-21 02:22:57
5. I writing a main class in the eclipse IDE and call
View Tutorial By: adam lim at 2013-03-11 04:13:51
6. plz can u give me code for key excange b/n pda &am
View Tutorial By: visnas at 2009-05-04 20:18:32
7. The example shown and ur way of explaining is good
View Tutorial By: Devi at 2009-02-24 07:19:26
8. I did'nt manage to run the program . I've added th
View Tutorial By: Bull at 2012-01-01 16:28:20
9. I have to ask; Where do we put the text boxes?
View Tutorial By: Jeremy at 2010-10-07 14:37:07
10. i need full program for connect oracle to struts l
View Tutorial By: Munaver Basha at 2010-09-30 01:28:10