Re: [PHP-ES] Problema con Tildes

[email protected] (Josué Hernández)
Newsgroups php.general.es
Message-ID <[email protected]>
Gracias Pablo,

Al final resolví el problema usando htmlentities().

Quedó así:
print '<option value="'.$row[0].'" selected />'.htmlentities( $row[1] );

Pero te agradezco tu ayuda, no conocía esa opción.
Gracias de nuevo, Josué.

On 07/05/2011 12:18 PM, Pablo Prieto Sebastia wrote:

dón, copie y pegué de donde no debía:

<?php
define('CHARSET','UTF-8');
header('Content-type: text/html; charset='.CHARSET);
?>


________________________________
-Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu
-Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu
-Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.