Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PDO encode result recordset to utf8

    function utf8_encode_recordset($recordset)
    {
        return array_map(function($record) {
            return array_map("utf8_encode", $record);
        }, $recordset);
    }
 
PREVIOUS NEXT
Tagged: #PDO #encode #result #recordset
ADD COMMENT
Topic
Name
9+6 =