<div class="codetitle"> <span><a style="CURSOR: pointer" data="10099" class="copybut" id="copybut10099" onclick="doCopy('code10099')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code10099"> <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> </div>