Solved

0xEEEEEE

Posted on 2010-08-16
2
633 Views
Last Modified: 2012-05-10
if ($this_pixel['red'] < 0xEE or $this_pixel['green'] < 0xEE or $this_pixel['blue'] < 0xEE)

is there a way to combine this into one if statement

0xEEEEEE
0
Comment
Question by:rgb192
2 Comments
 
LVL 9

Accepted Solution

by:
Snarfles earned 500 total points
ID: 33451070
if ($this_pixel['red'] < 0xEE || $this_pixel['green'] < 0xEE || $this_pixel['blue'] < 0xEE){

// code now

}
0
 

Author Closing Comment

by:rgb192
ID: 33454906
thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question