I am using php grid. I want filter today’s date data in php grid. but unfortunately I am unable to this. so please help me. following is my code
$dg = new C_DataGrid(“SELECT inward_id,sap_grn_no,vc_vehicle_no,inward_date,vendor_code,vendor_name,dc_no,invoice_no,dc_date,inv_total_amount,vc_unload_status FROM inward_master “,”inward_id”,”Inwards”);
$dg -> set_query_filter(“Date(inward_date)” == ‘d-m-Y’);
above is code. please help me. thanks in advance.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?