If value is divisible by 2
| From: | Craig | Date: | Tue, 30 Apr 2002 08:00:33 +0000 |
| Subject: | If value is divisible by 2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95329@lists.php.net to get a copy of this message | ||
I am trying to write an if statement that says if the value $foo is
divisible by 2 then echo "text"
i have tried mod but it isnt recognised
any ideas?