Reply to Re: what does thsi line do

Your name:

Reply:


Posted by Geoff Berrow on 09/16/05 22:33

I noticed that Message-ID: <432afb86@dnews.tpgi.com.au> from chris
contained the following:

>$w = ($tmp[0]>$maxw) ? $maxw : $tmp[0];
>
>can someone explain what it would do ??

If $tmp[0] is greater than $maxw it will assign the value of $maxw to
$w. If not, it will assign the value of $tmp[0] to $w.

--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

[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

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