ukweb Posted April 11, 2006 Share Posted April 11, 2006 HiI'm making an application which displays a area on a webpage if two statements are true.for the example Im using values $value1, $value2, $value3 and $value4What do I use for AND becuase I know AND isnt the one im after Quote Link to comment Share on other sites More sharing options...
craygo Posted April 11, 2006 Share Posted April 11, 2006 [code]if($value1 == 'some value' && $value2 == 'some value'){[/code]Ray Quote Link to comment Share on other sites More sharing options...
ukweb Posted April 11, 2006 Author Share Posted April 11, 2006 [!--quoteo(post=363741:date=Apr 11 2006, 01:07 PM:name=craygo)--][div class=\'quotetop\']QUOTE(craygo @ Apr 11 2006, 01:07 PM) [snapback]363741[/snapback][/div][div class=\'quotemain\'][!--quotec--][code]if($value1 == 'some value' && $value2 == 'some value'){[/code]Ray[/quote]Thanks! 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.