Re: Retrieve HTML from db
| From: | Richard S. Crawford | Date: | Tue, 20 Nov 2001 15:58:41 +0000 |
| Subject: | Re: Retrieve HTML from db | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14468@lists.php.net to get a copy of this message | ||
Try htmlentities() or htmlspecialchars(), which is what I use.
At 07:54 AM 11/20/2001, Joe Van Meer wrote:
Hi there...I have a db filled with various HTML code examples, tags, etc... how would I format it so that it would appear like <A href='index.php'>Link One</a>. I was using the strip_tags() function and quickly found out that this wasn't the best way to do it :) Cheers, Joe:) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netSliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: underpope@hotmail.com "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!"