سؤال

I'm trying to save CKEDITOR tags to database without success.

هل كانت مفيدة؟

المحلول

Put htmlspecialchars(), but you need using PDO when storing a data into server. Make sure that your textarea HTML tag correctly as:

<textarea class="ckeditor"><?php echo $your_value_from_db; ?></textarea>

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top