Austin, you rock :) I've only just started with PHP recently, and was 
introduced to the ternary operators by reading Rasmus' book (great job, 
Rasmus!!!), so I'm learning as I go here :)

Thanks buddy!

On 01:50 PM 5/10/2002 -0500, Austin Marshall wrote:
>$color=($i%2) ? "grey" : "white; will let you change the background color 
>depending on whether or not $i is even or odd.

Glenn E. Sieb, System Administrator
Lumeta Corp. mailto:[EMAIL PROTECTED]
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to