You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
if(isset($_POST['submit']))
|
|
{
|
|
$year=$_POST['year'];
|
|
if($year%4==0)
|
|
{
|
|
$leap="It is a leap year";
|
|
}
|
|
else
|
|
{
|
|
$leap="It is not a leap year";
|
|
}
|
|
}
|
|
?>
|