Tom
$i = 1; while (something true){ $modulus = the_modulus_of($i / 4); // does php do % instead of /? if($modulus == 0){ do_this_this_time(); } $i++; }
*bcmod*
(PHP 3, PHP 4 ) bcmod -- Get modulus of an arbitrary precision number Description string bcmod ( string left_operand, string modulus)
Get the modulus of the left_operand using modulus.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php