Designed to work with Home Assistant, but you can really use it wherever you want. This script publishes a value into a mysql table with the current date (per day), if date already exists, it'll ...
To insert an emoji into a MySQL table in PHP, you can use the mysqli_real_escape_string() function. This function takes a string as an argument and returns a string with special characters escaped.