Advertisement
krot

mysql установить кодировку

Nov 23rd, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.17 KB | None | 0 0
  1. mysql_query("SET NAMES 'utf8'");
  2. mysql_query("SET CHARACTER SET 'utf8'");
  3. mysql_query("SET SESSION collation_connection = 'utf8_general_ci'");
  4.  
  5. $mysqli->set_charset("utf8")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement