Domanda

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

È stato utile?

Soluzione

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>

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top