Home  >  Article  >  php教程  >  PHP根据传来的16进制颜色代码自动改变背景颜色

PHP根据传来的16进制颜色代码自动改变背景颜色

WBOY
WBOYOriginal
2016-06-13 09:33:41928browse

复制代码 代码如下:


echo "";
echo "

改变背景颜色";
if($_POST[inputColor]==""){
$inputColor="ffffff";
}
echo "";
echo "
";
echo "请填写html的颜色";
echo "";
echo "";
echo "
";
echo "";
echo "";
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn