Question

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

Was it helpful?

Solution

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>

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top