I have been asked to add functionality and fix known bugs on a web app(php, jquery, html) that hits a MySQL database. I noticed that several admin pages were not updating properly. Specifically, the text that was being entered was being cut off at around 20 characters. After doing some checking on the code, the database routines, and the database field to make sure there were no character limits(the field was declared VARCHAR(60) I believe), I decided to see what would happen if I changed the field to type TEXT. And it started working!
So that problem is fixed, however, I then read that type TEXT is depreciated and it is recommended to use type VARCHAR. So the question is, do I just leave it as type TEXT and not worry about it, or do I work on getting it to work as VARCHAR, and does anyone know why VARCHAR is acting up?