Re: Good HTML parser needed
| From: | Yi Wang | Date: | Tue, 13 May 2008 04:56:35 +0000 |
| Subject: | Re: Good HTML parser needed | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274221@lists.php.net to get a copy of this message | ||
You should pass the secend parm to the function. Like this:
$allowable_tags = '<p><a><td><table>';
strip_tags( $text, $allowable_tags );
On 5/13/08, Shelley <myphplist@gmail.com> wrote:
> Not that.
>
> It will just remove all html tags, you know.
>
>
> --
> Regards,
> Shelley
--
Regards,
Wang Yi