php if else 语句
php if else 语句 [代码片段(13行)]
<? $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>'; } ?>
- 上一篇:php popen()方法使用示例
- 下一篇:php session使用示例
精彩图集
精彩文章