Skip to content

Instantly share code, notes, and snippets.

@phpfiddle
Created March 27, 2013 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpfiddle/5258829 to your computer and use it in GitHub Desktop.
Save phpfiddle/5258829 to your computer and use it in GitHub Desktop.
[ Posted by Richard ] php print color.
<?php
/* My Color */
$today = date("w");
$bgcolor = array
(
"#FEF0C5", "#FFFFFF", "#FBFFC4", "#FFE0DD",
"#E6EDFF", "#E9FFE6", "#F0F4F1"
);
print_r("$bgcolor[$today]");
echo "<br />", "test gist!";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment