Home >Backend Development >PHP Tutorial >PHP根据传来的16进制颜色代码自动改变背景颜色_PHP

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

WBOY
WBOYOriginal
2016-06-01 11:51:10854browse
复制代码 代码如下:
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