Comment on Tutorial - How to make one else for two ifs in PHP By Marcin
Comment Added by : bibiki
Comment Added at : 2012-04-05 02:01:32
Comment on Tutorial : How to make one else for two ifs in PHP By Marcin
I don't get it... there seem to be only two different sets of instructions, exactly one of which has to be executed.... this is independent of the number of conditions that have to be checked because you can do the following:
if(condition1 && condition2)
do this
else
do this other thing
Seems to be me like what you did there is needless, or am I missing something?
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
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
MultiLevel Inheritance sample in Java
Archived Comments
1. hi friends im the biginer of java
how to co
View Tutorial By: Rock at 2013-05-14 09:27:19
2. Hi Grenfel, would this be possible??
View Tutorial By: Lerianne at 2012-08-20 11:37:32
3. import java.util.*;
public class de
View Tutorial By: Virudada at 2012-05-05 06:27:22
4. how to java program run in system and how to open
View Tutorial By: safeek at 2012-10-20 06:54:38
5. writa a java program to add two one-dimensional ar
View Tutorial By: nibedita swain at 2011-08-22 15:23:37
6. Hello Sir/Madam, I want to know the basic concepts
View Tutorial By: venkatesh at 2012-12-24 06:17:00
7. Barely can understand it even I'm a NEWBIES ^^
View Tutorial By: YieonChee at 2012-11-28 17:56:24
8. PROGRAMMING SUPERB
View Tutorial By: vinay sharma at 2010-10-01 05:16:23
9. Hi , instead of using localhost. I am using a mobi
View Tutorial By: vimal at 2010-12-02 01:44:40
10. thank you man.
View Tutorial By: Hariharan at 2012-08-03 01:39:16