How can I compare dates entered in the database with the current date of the server and know if the date in the database is less than the current date or server to perform the next action. something like that is what I want to do
"select * from publi where carrerae LIKE '%Informatica%' AND fecha (es menor a) date(y-m-d) ORDER BY id DESC"