write a php script to check whether the number is even or odd code example
Example: 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";
}
$num = 85;
if($num % 2 == 0){
echo "this is even number";
}else{
echo "this is odd number";
}