Ver Mensaje Individual
  #9 (permalink)  
Antiguo 07/04/2010, 13:55
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: Como validar un textarea en modo editor

intentaste hacer lo que te dije..
la forma que te digo es la correcta .. ahora revisa bien con un var_dump si aparte del <br /> no deja algun espacio o algo
y si es asi agrega un trim() luego del strip_tags()

Código PHP:
Ver original
  1. $text = trim(strip_tags($text));
__________________
More about me...
~ @rhyudek1
~ Github