简体   繁体   中英

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

i don't know how to add question here? please also help me in this..

$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());

use BETWEEN like that :-

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

or try this :-

where final_report.Date='date'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM