Hi all,
I am trying to write a query that returns all the records between two dates including the start date and the end date.
This is what I have so far:
SELECT * FROM Rose_Audit WHERE (LastAudit BETWEEN '".$_SESSION['FromDate']."' AND '".$_SESSION['ToDate']."') AND Complete = 1
The issue I have is it only works returning the dates between and not the start or end date.
Can anyone see where I am going wrong.
Many thanks in advance for your time.