When I work with PHP code I can store Arabic data in MySQL database successfully but get the data back with wrong format. Please note the following :
in my config file I have the below code:
$this->conn->exec("SET CHARACTER SET utf8");
the header has been changed as the below :
header('Content-Type: text/html; charset=UTF-8');