if(strpos($drop, 'norm') !== false && $ruavalue === 0 || $ruavalue === 2)
{
Echo "RUA: ";
$RUAresult = mysql_query("SELECT Answer FROM options");
echo '<form action="" method="post">';
echo "<input name="boss" type=hidden value='".$_POST['tier_two']."'>";
echo "<input name="main" type=hidden value='".$_COOKIE['ID_my_site']."'>";
echo '<input type="submit" name="ruasubmit" value="RUA!" />';
echo '</form>';
} else {
echo "You Have RUA'ed To This Boss";
}
when i use
if(strpos($drop, 'norm') !== false && $ruavalue == 0)
it works fine but i need to use
if(strpos($drop, 'norm') !== false && $ruavalue === 0 || $ruavalue === 2)
and it is not working correctly
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…