1.資料庫資料表的"編碼與排序"均設定成"utf8_unicode_ci"
2.PHP語法加入 header("Content-Type:text/html; charset=utf-8");
3.mysqli_query($conn,"SET NAMES 'utf8'"); //其中$conn資料庫是連線資訊
You have to believe in yourself. That's the secret of success.
1.資料庫資料表的"編碼與排序"均設定成"utf8_unicode_ci"
2.PHP語法加入 header("Content-Type:text/html; charset=utf-8");
3.mysqli_query($conn,"SET NAMES 'utf8'"); //其中$conn資料庫是連線資訊