You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*$test = "select tbl_files.filename,CAST(tbl_files.future_send_date AS DATE) AS fs_date,tbl_users.email from tbl_files LEFT JOIN tbl_files_relations ON tbl_files.id = tbl_files_relations.file_id LEFT JOIN tbl_users ON tbl_files_relations.client_id = tbl_users.id where tbl_files.future_send_date = '".$current_date."'";*/
$sql = "select tbl_files.filename,CAST(tbl_files.future_send_date AS DATE) AS fs_date,tbl_users.email from tbl_files LEFT JOIN tbl_files_relations ON tbl_files.id = tbl_files_relations.file_id LEFT JOIN tbl_users ON tbl_files_relations.client_id = tbl_users.id where tbl_users.email !='' AND tbl_files.future_send_date = DATE(NOW())";