Re: Php warning message

From: Date: Wed, 20 Feb 2008 21:52:30 +0000
Subject: Re: Php warning message
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-269751@lists.php.net to get a copy of this message
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/

« previous php.general (#269751) next »