Use and to connect two statement in if statement
<? $degrees = "95"; $hot = "yes"; if (($degrees > 100) && ($hot == "yes")) { echo "<P>TESTIt's <strong>really</strong> hot!</P>"; } else { echo "<P> TESTIt's bearable.</P>"; } ?>