![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
04/03/2010, 15:14
|
| | Fecha de Ingreso: marzo-2009
Mensajes: 39
Antigüedad: 15 años, 10 meses Puntos: 1 | |
Respuesta: Insertar código HTML en campo text de mysql Gracias por responder pero no hay manera.
Intente lo que intente siempre se queda trabado cuando encuentra un & o un "
Ya he probado con:
$text = addslashes($text);
$text = mysql_real_escape_string($text );
$text = htmlspecialchars_decode($text);
$text = strtr($text , array_flip(get_html_translation_table( HTML_SPECIALCHARS)));
No se donde está fallando... |