I was hoping this would be easy enough to figure out on my own but apparently I need help. I can't find the answer online either so I'm asking here. Perhaps I'm just not using the right search terms.
I have a database table with 1100 existing records. There are 3 fields: id, code_name, code_date. The code_date is a date in Y-m-d format used to indicate the date on which the associated code is active.
All I want to do is autofill every record with each consecutive date starting with today's date. So, first row will be 2013-06-14, the next row will be 2013-06-15, and so on.
I feel like this should be incredibly simple but apparently I'm an idiot today. Help would be appreciated!
I can use PHP to help with this, if I need to run any loops or anything.