UTF-8 characters don't display correctly

前端 未结 7 1179
清酒与你
清酒与你 2020-12-11 02:41

This is my PHP code:



        
7条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 02:56

    Just add this line at the beginning, after the connection with server:

    mysqli_set_charset($conn,"utf8");
    

提交回复
热议问题