Arrest-MySQL
Arrest-MySQL copied to clipboard
Values with "é" or "è" cause responses to show NULL
This is a wide known issue; You must encode characters to utf8 before passing them to json_encode. Add this piece of code
// map to utf8 to avoid broken json
$result = array_map('utf8_encode', $result);
right after (below)
if($result = $this->db->fetch_array()){
in lib/arrest-mysql.php file.