I have a javascript that will display multiple dates and change the color of the dates of events that have already past. I would like to modify this or create a new script to make it so that I don’t have to put the events into the code. I’d like to put the events in a mysql and have php used to do the exact same thing that javascript is already doing. Does anyone know how to do that? or how to help me figure it out?
Here’s the javascript: