Jump to content

HTML stored into datbase


Recommended Posts

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 ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.