How to write (if and elseif) multi
Posted: Tue Sep 28, 2010 11:50 am
Hi there,
for every case we have "gooo" as commen in all
how this could be one code using anything like elseif or switch whatever...
And
And
And
thanks in advance
for every case we have "gooo" as commen in all
how this could be one code using anything like elseif or switch whatever...
Code: Select all
if($refere && (stripos($r, $refere) === false)){
echo "x1"
}else{
echo"goooo"
}Code: Select all
if($limited && ($line[hits] >= $limited)){
echo "x2"
}else{
echo"goooo"
}Code: Select all
if($pword && (isset($_POST['password']) && $_POST['password'] == $pword) ){
echo"goooo"
}else{
echo"x3"
}Code: Select all
if ($line[capt] == 1 && ($_SESSION["security_code"]) ){
echo"goooo"
}else{
echo"x4"
}thanks in advance