Change the background color in PHP

Source: Internet
Author: User
Tags php source code

Introduction: This is a detailed page for PHP to change the background color. It introduces PHP, related knowledge, skills, experience, and some PHP source code.

Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 324395 'rolling = 'no'>

<HTML>
<Head>
<Title> change the background color </title>
</Head>
<Body>
<?
Print ("<HTML> \ n ");
Print ("Print ("<title> Change Background Color </title> \ n ");
Print ("/*

** When I was browsed for the first time
**
Use white as the default color.
*/
If ($ inputcolor =
"")
{
$ Inputcolor = "ffffff ";
}
/*

** Use background color to open a webpage
*/
Print ("<body
Bgcolor = \ "# $ inputcolor \"> \ n ");
/*
** Submit the form to this page.

*/
Print ("<form action = \" 37. php \"
Method = \ "Post \"> \ n ");
/*
**
Obtain color data
*/
Print ("<B> Fill in the HTML color Code : </B>
");
Print ("<input ");
Print ("type = \" text \"
");
Print ("name = \" inputcolor \"
");
Print ("value = \" $ inputcolor \ "> \ n ");
/*
**
Submitted button
*/
Print ("<input ");
Print ("type = \" Submit \"
");
Print ("name = \" submit_button \"
");
Print ("value = \" submit color \ "> \ n ");
Print ("</form> \ n ");
Print ("</body> \ n ");
Print ("?>
</Body>
</Html>

More articles on "changing the background color of PHP"

Love J2EE follow Java Michael Jackson video station JSON online tools

Http://biancheng.dnbcw.info/php/324395.html pageno: 15.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.