Don E Posted June 17, 2011 Share Posted June 17, 2011 Hello everyone,I would like to know if there is a way, which there is but would like to know how to do it, where someone types into a form field textarea and submits the data to the mysql database, but when retrieving what they wrote, it comes out exactly as they wrote it in the form?For example, if they hit enter to make a new paragraph in the form when typing in a textarea input field, how can we retrieve what they wrote exactly as they intended it to be when they wrote it?I did some test runs and in the textarea input field, I used html tags like <p>,<b>,<ul>,<ol>, etc and came out exactly formatted from the database when retrieving. But the problem with this is, the user would have to know how to do this and most internet users are not aware of this.I appreciate any input on this. Thank you! Link to comment Share on other sites More sharing options...
jeffman Posted June 17, 2011 Share Posted June 17, 2011 tinyMCE is a JavaScript library that might do just what you want. Link to comment Share on other sites More sharing options...
Don E Posted June 18, 2011 Author Share Posted June 18, 2011 tinyMCE is a JavaScript library that might do just what you want.Excellent! Thank you very much 'Dad! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.