Here is the scenario,
I am using MVC(Model,View,Controller) structure in my application.The platform which I am using is Cake PHP and my database is in mysql.
I am allowing the user to make changes in an element of the page,mainly div element/container.I will achieve the goal by using Ajax and JQuery,but the main question is of saving the changed content.
I have though of saving the entire html code in the database but I am not quiet sure about the retreiving part of it..
So need suggestion on this topic,regarding the way of appoarch that I should use.
If I should use database for saving the contents then which of the two datatype(text or thumbblob) is better for such a field.
Any Help would be highly appreciated.