MYsql function - date search

Right I have an issue with my ‘log book’ and i have no idea how to do it. Been years since I have needed code like this. Im guessing i need to develop a sql function for this > this = etc…

I have two dates, I want to search for all rows from one date to the next to retrieve relevant data.

[code]example:

job x 9th, job y 13th, job z 11th, job w 12th.

Job date 10th - 12th search.

I only want to retrieve job z and w.[/code]

Any ideas?

Sponsor our Newsletter | Privacy Policy | Terms of Service