Jump to content

Archived

This topic is now archived and is closed to further replies.

ukweb

$value = $value2 AND $value3 = $value4

Recommended Posts

Hi

I'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 $value4

What do I use for AND becuase I know AND isnt the one im after

Share this post


Link to post
Share on other sites
[code]if($value1 == 'some value' && $value2 == 'some value'){[/code]

Ray

Share this post


Link to post
Share on other sites
[!--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!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.