RE: I need ideas for things to code - webbytedd examples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux