unixbro Posted March 6, 2008 Share Posted March 6, 2008 if(($var=1)or($var=2)){do something}else{do something else} does this work? If so is it the right syntax ? Cannot find much documentation on this. Quote Link to comment Share on other sites More sharing options...
revraz Posted March 6, 2008 Share Posted March 6, 2008 Yes, but use == instead of = Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted March 6, 2008 Share Posted March 6, 2008 There's plenty of documentation in the fine manual Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.