|
Posted by Kimmo Laine on 10/18/06 11:52
"Steve" <beachie41@NOSPAM.gmail.com> wrote in message
news:4bnZg.15962$lU6.10673@fe78.usenetserver.com...
> Hi,
> I'm a complete PHP n00b slowly finding my way around
> I'm using the following function that I found on php.net to strip out html
> and return only the text.
You know, there is a built-in function strip_tags() that does exactly that,
so if your only goal is to strip tags, you might just as well use that. If
you're just trying to learn php and regex, then you should go the hard way
and write the strip function by yourself. :)
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti pδivittyvδ nettisarjis
spam@outolempi.net | rot13(xvzzb@bhgbyrzcv.arg)
Navigation:
[Reply to this message]
|