# If statement with two conditions

**URL:** <https://forum.kirupa.com/t/if-statement-with-two-conditions/202023>\
**Category:** flash\
**Created:** [September 27, 2006, 2:22am UTC](https://forum.kirupa.com/t/if-statement-with-two-conditions/202023 "2006-09-27T02:22:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)\
**Post date:** [September 27, 2006, 2:22am UTC](https://forum.kirupa.com/t/if-statement-with-two-conditions/202023/1 "2006-09-27T02:22:19Z")

</div>

if(description\_1 = “HELLO” && date\_1 = 1981){  
do Crap()  
}else{  
your crap  
}

does any one know the correct syntax/method for this type of statement?

if( A=a & B=b) we are in business

cheers
