|
Posted by Steve on 10/18/06 13:08
"Kimmo Laine" <spam@outolempi.net> wrote in message
news:tAoZg.8539$7C4.2594@reader1.news.jippii.net...
> "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)
>
Hi,
Yes, but strip_tags doesn't address my problem does it? I was
using it before I came across that faction. As for learning
regex, I agree, but right now I need to be able to do this ASAP
:)
cheers
Navigation:
[Reply to this message]
|