dennismonsewicz Posted May 6, 2008 Share Posted May 6, 2008 when setting up a database field to house text and HTML tags, what is the best setting for that field? IE. VARCHAR, text, blob Quote Link to comment Share on other sites More sharing options...
ILYAS415 Posted May 6, 2008 Share Posted May 6, 2008 well it depends how long the text is actually going to be. Personally i would prefer to use the 'longtext' type. Also dont forget that when putting your html tags etc into the db to use the function htmlentities so that u dont accidently sql inject urself Quote Link to comment Share on other sites More sharing options...
dennismonsewicz Posted May 6, 2008 Author Share Posted May 6, 2008 thanks I am going to give it a shot Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.