020 555 1111
  • Old fashion, modular, procedural PHP plus some scaffolding techniques to allow it to mimic MVC simplicity.
  • A quick reference to help you find in PHP maze what needs to be done and how to do it.
  • Learn a PHP Object Oriented Programming by building a live discussion forum application.
  • MVC - Model View Controller - real life, easy reference and application.
This product has options, take a look at them and select ones you like the most.
Options are displayed under image section.
Top » PHP » misc

hex colour check / verify
[regex]

// hex colour check, e.g. #ff0000 for red
// true - colour verifies correctly
preg_match("/^(#)?([0-9a-fA-F]{3})([0-9a-fA-F]{3})?$/", $color2check);