Re: [PHP] Good HTML parser needed
- Date: Tue, 13 May 2008 12:56:35 +0800
- From: "Yi Wang" <wangyi6854@xxxxxxxxx>
- Subject: Re: [PHP] Good HTML parser needed
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@xxxxxxxxx> wrote:
> Not that.
>
> It will just remove all html tags, you know.
>
>
> --
> Regards,
> Shelley
--
Regards,
Wang Yi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php