<?php
header('content-type:text/html;charset=utf-8');
//The user enters a number, whether it is an odd or even number
//Judge the user Whether the entered number is a leap year
//The user inputs 3 numbers and outputs the maximum value
$number=$_POST['number'];
// echo $number;
// if($number%2==1){
// echo $number,'is the base<br/>';
// }
//
// if ($number%2==0){
// echo $number,'is an even number<br/>';
// }
if($number%2==0){
echo $number.' is an even number<br/>';
}else{
echo $number.' is an odd number<br/>';
}
host inside
127.0.0.1 www.myphp.com
Hosts Binded