Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<body>
<form method="POST">
<input type=text name=inputdate>
<input type=submit>
</form>
<?php
if($_POST){
echo $inputdate . "<br><br>\n\n";
//get the values as an array
$date_in = sscanf($_POST["inputdate"], "%02d/%02d/%04d");
var_dump($date_in); // examine the array
//nice trick--dereference array as it is being created
list($month, $day, $year) = sscanf($_POST["inputdate"], "%02d/%02d/%04d");
echo "<br><br>\n\n
month = $month <br>
day = $day <br>
year = $year
";
}
?>
</body>
</html>
if($year < 1970)