text datatype

copy and paste the text from a website

datatype is text

and save it the same way it looks on website

do i have to convert to 'rich text'
LVL 1
rgb192Asked:
Who is Participating?
 
Om PrakashCommented:
Rich text needs to be converted to HTML content and then need to be saved in database.
0
 
Shannon_LowderCommented:
You'll want to make sure you URL encode the text before saving it to your database.  Look into URL encode, and sanitizing functions (to prevent injection attacks) before using the data in an insert statement.

---
Shannon Lowder
Database Engineer
toyboxcreations.net
0
 
rgb192Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.