I have a while loop of sql entries ordered by a date added descending. There is a second date column named activated, when each entry is activated (just a click on the entry).
Once all entries are displayed and ordered by date I want add special style to the one entry with the latest activated date, which is not equal to the date of adding. All other entries would be without special styling.
Does anyone know for a simple php date solution to pin out the entry with latest activated date?