arunpatal Posted November 29, 2013 Share Posted November 29, 2013 Is there any form textarea editor in which i can also execute php code????? Link to comment https://forums.phpfreaks.com/topic/284380-richtext-editor/ Share on other sites More sharing options...
aysiu Posted November 29, 2013 Share Posted November 29, 2013 You want to execute your own code? Just stick some PHP in there. For example: <textarea> <?php echo 'Here is some PHP code'; ?> </textarea> Link to comment https://forums.phpfreaks.com/topic/284380-richtext-editor/#findComment-1460633 Share on other sites More sharing options...
arunpatal Posted November 29, 2013 Author Share Posted November 29, 2013 You want to execute your own code? Just stick some PHP in there. For example: <textarea> <?php echo 'Here is some PHP code'; ?> </textarea> Yes i want to execute some code..... for example... first i submit some php code via this rich text editor to mysql database, then i execute this code on page. Link to comment https://forums.phpfreaks.com/topic/284380-richtext-editor/#findComment-1460635 Share on other sites More sharing options...
aysiu Posted November 30, 2013 Share Posted November 30, 2013 Oh, you want to be able to store it and bring it back later as PHP? Then leave out the <?php and ?> parts. Link to comment https://forums.phpfreaks.com/topic/284380-richtext-editor/#findComment-1460682 Share on other sites More sharing options...
trq Posted November 30, 2013 Share Posted November 30, 2013 first i submit some php code via this rich text editor to mysql database, then i execute this code on page. And why the hell would that make any sense? Link to comment https://forums.phpfreaks.com/topic/284380-richtext-editor/#findComment-1460696 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.