I want to display the value of two inputs with date type but it didn't work. Here is my code,
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel ="stylesheet" href="style_wbr.css"/>
<title>PORTAIL</title>
</head>
<body>
<br></br>
<br></br>
<br></br>
<form method = "post" action = "#">
<div id="date">
<input type="date" id="date_deb_filtre" name="Date_de_debut" />
<input type="date" id="date_fin_filtre" name="Date_de_fin" />
</div>
</form>
<br></br>
<form method="post" action='#'>
<div class="test">
<input type="submit" name="test" id="test" value="test"/>
</div>
</form>
<?php
if(isset($_POST['test']))
{
if (! empty($_POST['date_deb_filtre']) and (!
empty($_POST['date_fin_filtre'])))
{
echo ($_POST['Date_de_debut']);
echo ($_POST['Date_de_fin']);
}
}
?>
</body>
</html>
When I press the test button, the two dates did not appear on the page, can u guys help me with this