代碼如下:
<?php
echo <html>;
echo <head><title>改變背景顏色</title></head>;
if($_post[inputcolor]==){
$inputcolor=ffffff;
}
echo <body bgcolor=#{$_post[inputcolor]}>;
echo <form action='33.php' method='post'>;
echo <b>請?zhí)顚慼tml的顏色</b>;
echo <input type='text' name='inputcolor' value={$_post[inputcolor]}>;
echo <input type='submit' value='提交背景顏色'>;
echo </form>;
echo </body>;
echo </html>;
更多信息請查看IT技術(shù)專欄