Solved

0xEEEEEE

Posted on 2010-08-16
2
628 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

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 …
Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now