I am creating a search form that would give a list of records based on a start and end date. What would be the syntax for the query?
This is what I thought it might be...but doesn't seem to work.
SELECT *
FROM employee_time
WHERE `date` >= 'starttime' and 'date' <= 'endtime' and eid = 'analyst'
This is what I thought it might be...but doesn't seem to work.
SELECT *
FROM employee_time
WHERE `date` >= 'starttime' and 'date' <= 'endtime' and eid = 'analyst'