I would like to store HTML in my database, what field type would you recommend?
VarChar
Blob
Text
The HTML will vary in length depending on the row.
I would like to store HTML in my database, what field type would you recommend?
VarChar
Blob
Text
The HTML will vary in length depending on the row.
for this task i recommend storing your html in files and in the database use varchar(255)
for file path.
Text, since HTML is, after all, text. What’s it’s MIME type? text/html.