inserting link into database
| From: | dean james | Date: | Thu, 04 Jan 2001 07:23:20 +0000 |
| Subject: | inserting link into database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32612@lists.php.net to get a copy of this message | ||
Hello,
How can I insert the following String into a database from a html form.
Keep in mind that I need it to render exactly like a regular string as shown. So someone would enter that below. Basically, I am allowing html code.
<a href="http://www.yahoo.com">yahoo</a>
Basically, whenever I present this entry, it always has to look like that, not a link underlined etc... exactly as shown with brackets and slashes etc....
It has to go into the database like that and retrieved and displayed like that... I have tried "htmlentities" & "htmlspecialchars" with minimal success (none)...ANY help is appreciated.
Thanks,
J
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com