On Thu, 18 Jan 2001, Brett wrote:
I am trying to find out if I can take a the quantity of a product ordered
and find out if it is a multiple of three. Can someone point me in the
direction of some documentation or an exmaple of how this can be
accomplished.
Thanks,
Brett
if (!($number%3))
print("$number is divisible by 3!");
--
Ignacio Vazquez-Abrams [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]