jwulff wrote:

How would I calculate if a $number is a multiple of $spacer?

if(int($number / $spacer) == ($number / $spacer)){
   echo "It's a multiple!";
}else{
   echo "Nope!";
}

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to