
12/06/2009, 15:23
|
| | Fecha de Ingreso: enero-2009
Mensajes: 19
Antigüedad: 16 años, 1 mes Puntos: 2 | |
Respuesta: Problema Phpmailer y formato HTML Hola, bueno lo que hace Fckeditor es generarte las el codigo no en formato html, por ejm.
$str = "A 'quote' is <b>bold</b>";
Fckeditor el tag <p> te lo representa
A 'quote' is <b>bold</b>
Puedes usar la funcion para convertir esos caracteres a formato html con :
echo htmlspecialchars_decode($cadena);
o
echo htmlspecialchars_decode($cadena, ENT_NOQUOTES);
revisar:
php.net/manual/es/function.htmlspecialchars-decode.php
php.net/manual/es/function.htmlentities.php
-------------------------
visita: peru3g.com |