This is my code
$sql = 'SELECT * from customer';
$statement = $connection->prepare($sql);
$statement->execute();
if($statement->rowCount())
{
$row_all = $statement->fetchall(PDO::FETCH_ASSOC);
echo json_encode($row_all);
}
elseif(!$statement->rowCount())
{
echo "no rows";
}
it show "????".when retrieve from thai alphabet.where i have to fix code in the linecode? thank you so much