DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php check if int is odd
$number = 15; if ($number % 1 == 0) { echo "It's even"; }else{ echo "oneven"; }
PREVIOUS
NEXT
Tagged:
#php
#check
#int
#odd
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit