The problem is i want to fetch data on particular date.
This is my form
<form>
<label>Enter the date</label>
<input type="date" name="date">
</form>
if(isset($_POST['submit']))
{
$date = $_POST['date'];
$query = "select * from user_date where date ='$date' ";
}
In database date column(timestamp type) if i write this code this code is not work because i don't pass time.If i pass time this code is work.