aidin Posted July 13, 2010 Share Posted July 13, 2010 hi, i want to make a HTML based Text area. I mean a text area which when you enter(/n) in it, it puts a <br/> in HTML part, but doesn't show it in text area. or when you drag a picture in it, it puts the <img src="link of the image"/> in HTML part and shows the image in text area. something like post form of this forum. tnx Link to comment https://forums.phpfreaks.com/topic/207588-html-based-text-area/ Share on other sites More sharing options...
aidin Posted July 14, 2010 Author Share Posted July 14, 2010 no one? Link to comment https://forums.phpfreaks.com/topic/207588-html-based-text-area/#findComment-1086032 Share on other sites More sharing options...
AbraCadaver Posted July 14, 2010 Share Posted July 14, 2010 Not doable in PHP with images, etc... http://www.google.com/search?q=rich+text+editors Link to comment https://forums.phpfreaks.com/topic/207588-html-based-text-area/#findComment-1086033 Share on other sites More sharing options...
aidin Posted July 14, 2010 Author Share Posted July 14, 2010 why not? Link to comment https://forums.phpfreaks.com/topic/207588-html-based-text-area/#findComment-1086035 Share on other sites More sharing options...
gwolgamott Posted July 14, 2010 Share Posted July 14, 2010 Use AJAX or something as the base for this then when you want to save it then use php to implement all that jazz. PHP being server side language and this is more of a client side thing, it would take a reload with a server sided scripting language. So that's why you need a client side language (like javascript etc...) to make a drag and drop work. I don't know any off hand that has drag and drop built in but I'm sure there has to be one out there already someplace. Link to comment https://forums.phpfreaks.com/topic/207588-html-based-text-area/#findComment-1086037 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.