I've tried to implement this into my code but Ive had no luck! I also tried using it on its own to see whether it worked without my code but it doesn't. (changing the dates etc)
Also how would I change it to add values from my database?
the strings with the data in are called $grey $grey2 (which have the dates in)