Ignore:
Timestamp:
Apr 22, 2009, 1:58:57 PM (16 years ago)
Author:
jazz
Message:
  • 設定 UTF-8 為 MySQL Query 預設顯示字集
File:
1 edited

Legend:

Unmodified
Added
Removed
  • hadoop-register/check_activate_code.php

    r57 r58  
    1313  $link = mysql_connect($mysql_host, $mysql_user, $mysql_password) or die(mysql_error() );
    1414  mysql_select_db($mysql_database, $link) or die(mysql_error() );
     15  mysql_query("SET NAMES 'utf8'");
    1516
    1617  // 抓取使用者認證碼
Note: See TracChangeset for help on using the changeset viewer.