A
A
Alexfixer2019-12-05 20:21:52
MySQL
Alexfixer, 2019-12-05 20:21:52

Why are comments with the emojioneArea plugin enabled not written to the database?

Good evening, can you tell me why comments with the emojioneArea plugin enabled are not written to the database? without a script for emoticons, comments are recorded ...
connected to Head

<link rel="stylesheet" href="/assets/css/emojionearea.min.css">

connected after footer
<link rel="stylesheet" href="/assets/js/emojionearea.min.js">

<div class="form-group">
      <textarea id="comment_emoji" class="form-control" name="comment_text" placeholder="ваш комментарий"></textarea>
    </div>

<script>
    	$(function(){
    		$("#comment_emoji").emojioneArea({
    			// pickerPosition: "top"
    		});
    	})
  </script>

Smilies appeared in the textarea field, but when sending data, the database is written empty. It works without emoticons and writes the text to the database. Why is this happening? How can I fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2019-12-05
@Alexfixer

How to remove 'bad' characters from a string?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question