arunpatal Posted November 29, 2013 Share Posted November 29, 2013 (edited) Is there any form textarea editor in which i can also execute php code????? Edited November 29, 2013 by arunpatal Quote 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> Quote 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. Quote 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. Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/284380-richtext-editor/#findComment-1460696 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.