Beginning MySQL Tutorial One of the fastest SQL (Structured Query Language) database servers currently on the market is the MySQL server, developed by T.c.X. DataKonsultAB. MySQL, available for download at http://www.mysql.com, offers the data base programmer with an array of options and capabilities rarely seen in other database servers. What's more, MySQL is free of charge for those wishing to use it for private and commercial use.
| Name: |
Mike Hanney |
| Subject: |
Re: Removing html tags?? |
| Date: |
06-11-1999 01:19PM |
Name: Mike Hanney
Subject: Re: Removing html tags??
Date: 06-11-1999 01:16PM
Danny,
I either use a regular expression to replace html tags with greater than and less than tags (you could use spaces), or I use the new htmlentities function which does the same but for every tag. I wonder if this forum will replace the tags in my example code :)
Example.
1)
$body = htmlentities ($body);
2)
$body = eregi_replace("<", "<", $body);
$body = eregi_replace(">", ">", $body);
hope this helps
Mike.
P.S. check out http://www.phorum.com for more stuff like this.
|
Other posts in this thread:
Reply to this post:
|
 |
Visit the MySQL Forum!
New On DevShed:
Hot Forum Topics:
|