PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hello all,
OK I'm building an administration page on one of my site. It pulls all items from a particular table in the database, and highlights items which are deadlined for the current date, but i would also like to highlight ALL previous dates indicating that it is overdue.
the closest way that i can think of (although not right), would be:
iknownothing wrote:It pulls all items from a particular table in the database, and highlights items which are deadlined for the current date, but i would also like to highlight ALL previous dates indicating that it is overdue.
How are the dates stored in your database? (the column type??)
I would test it out for myself but the original code isnt right in front of me at the moment and figured I'd make sure I'm right before I spend more hours trying to figure out what the hell I'm doing...