24.09.2010, 23:44
Use 'if' when you do checks.
Use 'else if' if you want to check something else, if the previous 'else if' or 'if' doesn't meet the conditions
Use 'else' if you want to end the series of checks. If you add a new 'if' after 'else', it will be executed only IF the 'else' statement is called.
Use 'else if' if you want to check something else, if the previous 'else if' or 'if' doesn't meet the conditions
Use 'else' if you want to end the series of checks. If you add a new 'if' after 'else', it will be executed only IF the 'else' statement is called.

