View Full Version : if...else statements with multiple conditions
06-17-2008, 04:40 AM
I want a function to intiate only if 2 different conditions are met. Would the syntax for this be....
if (condition1) && (condition2)
06-17-2008, 04:51 AM
06-17-2008, 05:07 AM
Maybe it's No, and is suppose to be like this instead:
if((condition1) && (condition2))
If nothing happens, up the code so we could play with it.
06-17-2008, 05:12 AM
Both of the ones you suggested worked, mine did not. Thanks.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.