...

View Full Version : How is this written



mwm
01-30-2007, 05:19 PM
how do you write in php this

this var and this var or this var

Thanks

Nightfire
01-30-2007, 05:23 PM
huh lol

mlseim
01-30-2007, 05:26 PM
Is this what you're talking about?



<?php

$var1="one";
$var2="two";
$var3="three";

if(($var1=="one" && $var2=="two")||($var3=="three")){
echo "yep";
}
else{
echo "nope";
}
?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum