Jump to content
Sign in to follow this  
HarrySeah

Database how to store textarea editor content with all style effect ?

Recommended Posts

HI


i trying to create a website of forum


textarea editor are necessary too


for recommendation which editor are best for textarea


such as summernote, wysihtml5 ....



and how is work to store the data/value/text in mysql database ?


Thanks all of you


Share this post


Link to post
Share on other sites

The editor will usually return HTML, but it might return BBcode. You can just store that in a text field in the database.

Share this post


Link to post
Share on other sites

To: Ingolme

 

Thanks for you reply and helping, but if not mistaken when our using PHP with MySQL right will try to remove the html or javascript syntax/keyword to prevent people hacking our system right

and what is meant of BBcode ? isnt binary code @@ thanks you so much

Share this post


Link to post
Share on other sites

No, PHP and MySQL don't do anything unless you explicitly program them to, they have no native escaping of Javascript or HTML.

 

BBCode refers to the language used on forums to add formatting to forum posts.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...