Re: Pasar html a texto

From: Date: Fri, 21 Mar 2003 18:02:38 +0000
Subject: Re: Pasar html a texto
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-34043@lists.php.net to get a copy of this message
strip_tags() saca etiquetas HTML y PHP suerte ----- Original Message ----- From: "Alex Marin" <alexism@webbox.cl> To: <lista@phpes.com> Sent: Friday, March 21, 2003 2:03 PM Subject: [PHP-ES] Pasar html a texto > Hola listeros queria hacer una consulta: > > tengo una variable en la cual tengo html y quiero eliminar las etiquetas > html, existe alguna funcion en php que haga esto??? > > Salu2 > > pd: pongo un ejemplo: > > $variable="<b>hola</b><br><font size=3>hola > mundo</font>"; > y quede asi: > $nueva_variable="hola hola mundo"; > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > > >

« previous php.general.es (#34043) next »