Can anybody suggest the best way of keeping the formatting intact of a text field - ie. keeping the line breaks or carriage returns in mysql and then recognising them when the form is populated on login?
Currently when the textfield data is stored (in a TEXT field in mysql) its losing the carriage return values and adding a small square box instead.
Would it be a case of formatting with nl2br or using a str_replace instead?
Thanks