PHP-PDO: Como usar UTF-8 com MySQL e PDO
<?php $hostname = ‘nome_servidor’; $username = ‘nome_usuario’; $password = ‘senha’; $database = ‘nome_banco’; try { $pdo = new PDO("mysql:host=$hostname;dbname=$database;charset=utf8",
Read More<?php $hostname = ‘nome_servidor’; $username = ‘nome_usuario’; $password = ‘senha’; $database = ‘nome_banco’; try { $pdo = new PDO("mysql:host=$hostname;dbname=$database;charset=utf8",
Read More