|
-
May 14th, 2007, 03:56 PM
#1
Re: htmlentities
if you used htmlentities() and then inserted it into your database, the raw output from htmlentities() will be stored in your database ('<' for '<' and '>' for '>').
however, the browser will not show the raw output to the user (unless they're viewing the source), but rather will parse the special characters as readable characters. so, "<" changes to "<" and ">" changes to ">", for example. if you view the source, though, you will see the raw output that the database has stored.
make sense?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|