I have a MySQL table full of date’s in the format DATE. How would I find the current date, and then find it in the table and echo out its position in terms of row_id?
I understand I’m not providing any code with this question, but I’m struggling to find a place to start.
You can use the
CURDATE()function to match the current date: