xampp没有读取select数据库填充的阿拉伯元素

时间:2014-11-17 12:43:50

标签: php xampp

attached the screenshot of the problem these are arabic

另一个选择的固定元素工作正常 enter image description here

它在apache和wamp

上正常工作

1 个答案:

答案 0 :(得分:0)

您使用什么扩展程序连接到数据库?如果是mysql(),请尝试:

mysql_set_charset("UTF-8", $db_link);

在链接声明之后,假设您将数据存储为UTF-8:)