[Resolvido] Problema - Acentuação.
Oi Pessoal!
Estou tendo um problema com a acentuaçao quando utilizo uma funçao que criei para listar os dados.
Aqui tem o link para ver o problema (No mes MARÇO): http://www.digimastersonline.com/lauffer/calendario.php
Aqui esta a funçao:
function mostra_evento($mes){
$src_mes_event=mysql_query("SELECT * FROM tb_calendario WHERE mes='$mes' ORDER BY dia") or die("Erro no select");?>
<p>
<? while($mostra=mysql_fetch_array($src_mes_event)){?>
DIA <?=$mostra['dia'];?>: <?=$mostra['evento'];?><br/>
<? }?>
</p>
<?
}
Aqui esta a pagina onde chamo a funcão:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[http://www.w3.org/1999/xhtml">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Lauffer - Area Administrativa -</title>
</head>
<body>
<?php
require('conexao.php');
function mostra_evento($mes){
$src_mes_event=mysql_query("SELECT * FROM tb_calendario WHERE mes='$mes' ORDER BY dia") or die("Erro no select");?>
<p>
<? while($mostra=mysql_fetch_array($src_mes_event)){?>
DIA <?=$mostra['dia'];?>: <?=$mostra['evento'];?><br/>
<? }?>
</p><?
}
mostra_evento('JANEIRO');
</body>
</html>Alguem sabe como arrumar este problema.
Um abraço!
Evandro.S Eisinger
Discussão (26)
Carregando comentários...