Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Reply
 
Topic Tools
  #1  
Old August 2nd, 2007, 09:51 PM
FrEaKmAn FrEaKmAn is offline
Senior Member
 
Join Date: Aug 2005
Posts: 477
Question ingore html tags

Hi

Can I somehow with html or php edit something so that it ignores or removes html tags as <font>, <span>, etc??
Reply With Quote
  #2  
Old August 2nd, 2007, 09:58 PM
Buzz's Avatar
Buzz Buzz is offline
Cyber Tech Help Moderator
 
Join Date: Sep 2000
O/S: MacOS
Location: Oregon, USA
Posts: 3,324
to allow specific tags. . .
PHP Code:
strip_tags($string'<br />'); 

or to remove them all. . .

PHP Code:
strip_tags($string); 
There's no way to tell html to ignore an html tag that I'm aware of.
__________________
Scott
Moderator : Macintosh : Website & Graphics
Adobe Certified Expert: Illustrator
Royalty-Free Vector Stock Art
Reply With Quote
  #3  
Old August 2nd, 2007, 10:06 PM
FrEaKmAn FrEaKmAn is offline
Senior Member
 
Join Date: Aug 2005
Posts: 477
nice, I hope that I want have problems with special tags

Thanks
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:01 AM.

[ RSS ]