P
P
Pavel Gogolinsky2014-05-11 17:04:03
Yii
Pavel Gogolinsky, 2014-05-11 17:04:03

Yii. How to store tags in database?

There is a textarea to which the wysiwyg editor is connected. How to save formatted text in yii using AR? By default, it deletes all inserted tags (, ) before saving

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
p4s8x, 2014-05-11
@gogolinsky

By default, Yii does not do any data transformations. Are you sure your wysiwyg editor is sending data to the tagged server?
It is very easy to check, put the following code in the controller at the very top:

CVarDumper::dump($_POST); 
die();
see exactly what is coming to the server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question