天津彩钢板系列:<PHP>显示结果为什么是The expression returns false.?
来源:百度文库 编辑:中科新闻网 时间:2024/05/22 06:07:45
<?php
if ($expression) {
?>
<strong>The expression returns true.</strong>
<?php
} else {
?>
<strong>The expression returns false.</strong>
<?php
}
?>
if ($expression) {
?>
<strong>The expression returns true.</strong>
<?php
} else {
?>
<strong>The expression returns false.</strong>
<?php
}
?>
$expression 的值为false 或 0 则会显示The expression returns false