Home > Backend Development > PHP Tutorial > 实现背景颜色的改变_PHP

实现背景颜色的改变_PHP

WBOY
Release: 2016-06-01 12:32:09
Original
1874 people have browsed it



实现背景颜色的改变



 print("\n");
 print("\n");
 print("改变背景颜色\n");
 print("\n");
 /*
 ** 第一次被浏览的时候
 ** 使用白色为默认的颜色。
 */
 if($inputColor == "")
 {
  $inputColor = "FFFFFF";
 }
 /*
 ** 使用背景颜色打开网页
 */
 print("\n");
 /*
 ** 表单提交到本页
 */
 print("
\n");
 /*
 ** 得到颜色的数据
 */
 print("请填写HTML颜色代码: ");
 print(" print("TYPE=\"text\" ");
 print("NAME=\"inputColor\" ");
 print("VALUE=\"$inputColor\">\n");
 /*
 ** 提交的按钮
 */
 print(" print("TYPE=\"submit\" ");
 print("NAME=\"Submit_Button\" ");
 print("VALUE=\"提交颜色\">\n");
 print("
\n");
 print("\n");
 print("\n");
?>



Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template