I have a table "employees"
in MySQL database inside which I have 'payday' for employees salary day as date in field in 'employees' table.
Nov 28 2015 for some employees
Nov 25 2015 for some others
What I can't rap my head around is how to :
->where (Curdate() = 'payday');
While this works for the first month , how then can I repeat this every 28th, 25th of every month loop through the years......
I am using framework, Codeigniter