Simple math question thats been stumping me...
How do I find the remainder?
$apples = 35;
$maxApplePerBushell = 4;
$neededBushells = $apples / $maxApplePerBushell;
$remainingApple = ??????????
$remainder
modulus operator. http://us3.php.net/manual/en/language.operators.arithmetic.php
$rem = $a % b; //gives the remainder of a division $a / $b