Reply to Re: the function to switch values ie for alternating between 2 colors in table display

Your name:

Reply:


Posted by monomaniac21 on 07/12/06 08:54

it has something like this in it somehere:

for($i=0; $i<10; $i++) {
echo $i % 2 ? $catodd : $cateven;
}



monomaniac21 wrote:

> Hi all!
>
> What is the php function called which allows you to alternate between
> two values? I've completely forgotten it and my searches in php.net
> have not been fruitful!
>
> Kind regards
>
> Marc

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация