OSv> How can is check with php wether a number is even or not? What i want is
OSv> that in a while loop the background color of a cell changes!
Try
echo (($i++ % 2) == 0) ? "#FF" : "#00FF00";
First it performs an integerdivision and checks if the remainder is 0.
If that is the case it p
Hello,
How can is check with php wether a number is even or not? What i want is
that in a while loop the background color of a cell changes!
Thanks,
Sjoerd van Oosten
Digitaal vormgever [EMAIL PROTECTED]
Datamex E-sites B.V.
http://www.esites.nl
Minerv
2 matches
Mail list logo