Save Data in Arabic in MySQL database

前端 未结 7 2012
我在风中等你
我在风中等你 2020-11-22 14:13

I have changed the charset of the tables and of the column, i get the arabic text as ???? marks in MYSQL database

here is the design of the table

  C         


        
7条回答
  •  梦谈多话
    2020-11-22 15:03

    Try this code :

    $conn = new mysqli($server,$username,$password,$dbname);
    $conn->set_charset("UTF8");
    

提交回复
热议问题