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.
14 lines
237 B
PHTML
14 lines
237 B
PHTML
5 years ago
|
<?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";
|
||
|
}
|
||
|
}
|
||
|
?>
|