Re: Php warning message

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

 




I may be showing my ignorance here... But on your if ($counter % 2 ==0) line what does the "%" do? Was that possibly a typo?

% is the modulus operator, so basically that will alternate between a line having a font tag and not having a font tag.

http://www.php.net/operators.arithmetic

--
Postgresql & php tutorials
http://www.designmagick.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