At 4:16 PM -0600 8/10/09, John Butler wrote:
quick Q:
I have this inside a foreach{} that I want to alternate between on
and off so I can alternate the background-color of my <tr>'s.
$tableRowBGcolorBoolCounter != $tableRowBGcolorBoolCounter;
//-boolean on and off
I am looking thru' docs and books, but can't remember (nor find now)
in PHP how to say "inverse your value" (to a boolean).
?
TIA! -G
John:
Here's my solution:
http://webbytedd.com/b/color-rows/
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php