cleary1981 Posted January 6, 2009 Share Posted January 6, 2009 Hi, I am using several textareas in my application. The content is being stored in a mysql database. The problem I am having is that I want the output data to be exactly the same as the input. I have tried using the wrap attribute but that hasnt worked. For example When I write: xyz abc it comes out as : xyz abc on the same line. Quote Link to comment Share on other sites More sharing options...
xProteuSx Posted January 6, 2009 Share Posted January 6, 2009 I'd be real interested in this solution too. Without writing or implementing a WYSIWYG input everything is kind of simplified. I wonder if making the field Binary would fix this. However, even if it did, the DB would look pretty ugly. Quote Link to comment Share on other sites More sharing options...
redarrow Posted January 6, 2009 Share Posted January 6, 2009 nl2br(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.