DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
How to check even or odd number in php
$num = 85; if($num % 2 == 0){ echo "this is even number"; }else{ echo "this is odd number"; }
PREVIOUS
NEXT
Tagged:
#How
#check
#odd
#number
#php
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit