html - PHP data is not displaying in CKEditor -



html - PHP data is not displaying in CKEditor -

i new yii framework. had web page , need fetch info database page. when set both html , php code in ckeditor, it's straight displaying php code special characters. it's not recognizing <?php ?> tags. how can create back upwards php extension?

here code ckeditor:

<script type="text/javascript" src="ckeditor/ckeditor.js"></script> <script type="text/javascript" src="somedirectory/ckeditor/ckeditor.js"></script> <?php // create sure using right path here. include_once 'ckeditor/ckeditor.php'; $ckeditor = new ckeditor(); $ckeditor->basepath = '/ckeditor/'; $ckeditor->config['filebrowserbrowseurl'] = '/ckfinder/ckfinder.html'; $ckeditor->config['filebrowserimagebrowseurl'] = '/ckfinder/ckfinder.html?type=images'; $ckeditor->config['filebrowserflashbrowseurl'] = '/ckfinder/ckfinder.html?type=flash'; $ckeditor->config['filebrowseruploadurl'] = '/ckfinder/core/connector/php/connector.php?command=quickupload&type=files'; $ckeditor->config['filebrowserimageuploadurl'] = '/ckfinder/core/connector/php/connector.php?command=quickupload&type=images'; $ckeditor->config['filebrowserflashuploadurl'] = '/ckfinder/core/connector/php/connector.php?command=quickupload&type=flash'; $ckeditor->editor('ckeditor'); ?>

ckeditor.config.protectedsource need right now.

php html yii ckeditor

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -