Welcome Guest, Not a member yet? Register   Sign In
escape html-entities
#7

[eluser]callumd[/eluser]
The one benefit of converting text in to HTML entities *prior* to going in to the database is that your app will run faster. (You encode the HTML entities only once this way, as opposed to having convert the data in to HTML entities each and every time you pull it from the database).

Whether this would be considered a really bad practice for other reasons, I'm not sure.


Messages In This Thread
escape html-entities - by El Forum - 10-27-2008, 07:53 AM
escape html-entities - by El Forum - 10-29-2008, 03:38 AM
escape html-entities - by El Forum - 10-29-2008, 08:36 AM
escape html-entities - by El Forum - 10-29-2008, 08:57 AM
escape html-entities - by El Forum - 10-29-2008, 09:08 AM
escape html-entities - by El Forum - 10-29-2008, 09:18 AM
escape html-entities - by El Forum - 10-29-2008, 10:33 AM
escape html-entities - by El Forum - 10-29-2008, 11:05 AM
escape html-entities - by El Forum - 10-29-2008, 12:02 PM
escape html-entities - by El Forum - 10-29-2008, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB