I am coding a status item for a website and need to load statuses older than a variable that contains a datetime.
So the database has a field called added date which is a datetime field and I have a string in datetime format and i want to select all rows older than my datetime format string.
How would this be structured in MYSQL?
Thanks in advance.