L
L
Luka Tarkhnishvili2016-11-05 17:33:34
MySQL
Luka Tarkhnishvili, 2016-11-05 17:33:34

What to do if questions are displayed from the database instead of letters?

Questions are displayed from the database instead of letters, the encoding is utf8-general-ci. Everything worked on openserver, but questions are displayed on the real server, what should I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Luka Tarkhnishvili, 2016-11-05
@Zorner

mysqli_set_charset($CONNECT, "utf8"); After connection. helped!

P
Philipp, 2016-11-05
@zoonman

$db->exec('SET NAMES utf8');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question