<u>复制代码</u> 代码如下: <br><?php <BR>echo ""; <br>echo "<title>改变背景颜色</title>"; <br>if($_POST[inputColor]==""){ <br>$inputColor="ffffff"; <br>} <br>echo ""; <br>echo "<form action="33.php" method="post">"; <br>echo "<b>请填写html的颜色</b>"; <br>echo "<input type="text" name="inputColor" value="{$_POST[inputColor]}">"; <br>echo "<input type="submit" value="提交背景颜色">"; <br>echo "</form>"; <br>echo ""; <br>echo ""; <br>