这是我的代码,我想添加日期选择器事件,它根据日期给出特定的记录


this is my code in this i want to add date-picker event which gives particular record according to date

我不知道如何在这里添加问题?也请在这方面帮助我。。

$sql = ("SELECT final_report.customer_id,customer.Customer_name,customer.Customer_email,customer.Customer_address,customer.Customer_phone_num,final_report.Product_id,final_report.total_units,final_report.total_price,final_report.Date
FROM final_report 
INNER JOIN customer
ON customer.Customer_id = final_report.customer_id LIMIT $start_from, $per_page")or die(mysql_error());

像这样使用BETWEEN:-

where final_report.Date BETWEEN 'date1' and 'date2'

或者试试这个:-

where final_report.Date='date'