krot

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

Nov 23rd, 2015
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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")
RAW Paste Data