Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/05/2010, 18:29
Avatar de spider_boy
spider_boy
 
Fecha de Ingreso: diciembre-2003
Ubicación: Chile
Mensajes: 1.855
Antigüedad: 20 años, 4 meses
Puntos: 89
Respuesta: <nobr> y nl2br();

Código PHP:
Ver original
  1. $var = "contenido que tiene un <br /> o un <br> por ahí...";
  2. echo preg_replace("/(<br \/>|<br>)/", "", $var);
__________________
Nunca te olvidaré mi negra hermosa. Te extraño demasiado.