formato html en php??
Señores tengo un problema quisiera saber como guadar de un form a mi bd texto enriquesido en html y despues verlo en una consulta..
por favor si me pueden ayudar!! gracias de antemano
por favor si me pueden ayudar!! gracias de antemano
Hola
kieres ke te guarde el texto kon html y ke al konsultarlo no ejekute el Html sino ke solo lo muestre???
si es asi hay dos funciones ke pueden ayudarte
string htmlspecialchars(string cadena);
Convierte caracteres especiales a entidades HTML
http://mx.php.net/manual/es/function.htmlspecialchars.php
o
string htmlentities(string cadena);
Convierte todos los caracteres aplicables a entidades HTML
http://mx.php.net/manual/es/function.htmlentities.php
chekate sus respektivos links, kreo ke pueden servirte
si tiene tienes dudas o algun otro problema mandame un mail a [email protected]
suerte
ciao
kieres ke te guarde el texto kon html y ke al konsultarlo no ejekute el Html sino ke solo lo muestre???
si es asi hay dos funciones ke pueden ayudarte
string htmlspecialchars(string cadena);
Convierte caracteres especiales a entidades HTML
http://mx.php.net/manual/es/function.htmlspecialchars.php
o
string htmlentities(string cadena);
Convierte todos los caracteres aplicables a entidades HTML
http://mx.php.net/manual/es/function.htmlentities.php
chekate sus respektivos links, kreo ke pueden servirte
si tiene tienes dudas o algun otro problema mandame un mail a [email protected]
suerte
ciao