alittee Posted August 16, 2011 Share Posted August 16, 2011 Hi everyone I have a admin page in a site im building for my admin to insert a description into the database. the datatype i am storing it in is a LONGTEXT and i am just wanting it to insert a <br/> everytime my admin hits 'enter/return' so that when i echo the field it will insert the <br/> tags. is this possible to do without using a full blown rich text plugin like fckeditor or tinymce? also this is my first post so let me know if this should be under the php coding section at all. thanks, adrian Quote Link to comment https://forums.phpfreaks.com/topic/244924-rich-text/ Share on other sites More sharing options...
AyKay47 Posted August 16, 2011 Share Posted August 16, 2011 nl2br Quote Link to comment https://forums.phpfreaks.com/topic/244924-rich-text/#findComment-1258132 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.