I have a question about inserting the current date in a row into a mysql table in case there is no such record. Example: Insert 2017-10-10 in a row if it does not exist. But insert a new record in case it's another day like tomorrow (2017-10-11). I had read something with curdate () and NOW (), but I'm not sure what would be right or more appropriate.