Answers for "PDO encode result recordset to utf8"

PHP
0

PDO encode result recordset to utf8

function utf8_encode_recordset($recordset)
    {
        return array_map(function($record) {
            return array_map("utf8_encode", $record);
        }, $recordset);
    }
Posted by: Guest on October-13-2020

Browse Popular Code Answers by Language