Eleirbag89 / TelegramBotPHP

A very simple PHP Telegram Bot API for sending messages.
http://eleirbag89.github.io/TelegramBotPHP
MIT License
800 stars 340 forks source link

Emoji #232

Closed JavadHollywood closed 3 years ago

JavadHollywood commented 3 years ago

Hi

how insert emojis in mysql with php and then send emoji to bot?

JOSDC01 commented 3 years ago

Use .... $servername = ""; $username = ""; $password = ""; $dbname = "";

$conn = mysqli_connect($servername, $username, $password, $dbname);

// Check connection if (!$conn) { die("Connection failed: " . mysqli_connect_error()); }

$conn->set_charset('utf8mb4'); // important

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.