At 3:16 PM -0700 4/27/09, Daevid Vincent wrote:
http://webbytedd.com/b/color-rows/
you know you can do this too:
<tr class="<?= (($r = !$r) ? 'row0' : 'row1' ) ?>">

No -- never use the short tag.

Use:

<tr class="<?php echo( (($r = !$r) ? 'row0' : 'row1' )); ?>">

How come you don't have a way to see/download the source code for all these
examples?


With some of my samples I do, but the main point here is for ME to have a place to fall back to for reference.

Cheers,

tedd

PS: My site is down at the moment.


--
-------
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

Reply via email to