Reply to Re: Stripping html

Your name:

Reply:


Posted by Christoph Burschka on 12/10/06 19:57

Bob wrote:
> The TitleField in my DB reads:
>
> Some title <span class=BoldRed>*</span>
>
> This shows up correctly, with the asterisk in the correct format, when
> shown on the web.
>
> I also want to show this field without any of the formatting; i.e.
>
> Some title *
>
> I've tried:
> $notags = stripslashes($row['title']);
>
> and also
>
> $notags = htmlspecialchars($row['title']);
>
> but still get the tag info. How can I get rid of it?
>

The function you're looking for is striptags().

--
CB

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация