Ver Mensaje Individual
  #15 (permalink)  
Antiguo 17/06/2010, 04:00
Avatar de Heli0s
Heli0s
 
Fecha de Ingreso: abril-2010
Mensajes: 789
Antigüedad: 16 años, 6 meses
Puntos: 40
Respuesta: Problema con Acentos

Código PHP:
while($row=mysql_fetch_array($subvenciones)){
   
$titulo = $row[titulo];
   
$letra = $titulo{0};
   
$resto = substr($titulo, 1);
   
$letra = "<span class=\"topNrosa\">". html_entity_decode($letra). "</span>";
   
$resto = "<span class=\"topNnormal\">". html_entity_decode($resto). "</span>";
   
$final = $letra.$resto; 

echo 
$final;