I am using ckeditor in a simple cms i build with the following configuration.

```
  <script>
        if ($("#editor").length) {
        CKEDITOR.replace('editor', {
        language: 'en',
        allowedContent: true,
        });
        CKEDITOR.config.protectedSource.push(/<\?[\s\S]*?\?>/g);
        }
                </script>

```

It works great if go to the source tab on the editor and type some php code like the following:

```
<?php echo "hello"; ?>

```

it gets saved on the database as `<?php echo "hello"; ?>
so far so good`

Now my problem is when getting that from the database and displaying it on the browser it does no appear.

I did a var\_dump on the variable that has the code and i see the following:

```
...modules\pages\views\base.php:38:string '<?php echo "hola"; ?>' (length=21)

```

So the value does exist and its reaching the view, i dont undestand why it is not showing up on the page.

the page is template.php
if i look at the source code my php code is beingg commented

`<!--?php echo "hola"; ?-->`

and this is how i am trying to display the code
 if i do the following

```
 <div class="article-content-container">
    <?php   echo $this->security->xss_clean($content);   ?>
</div>

```

it is displayed like

```
<div class="article-content-container">
                            &lt;?php echo "hola"; ?&gt;<!--?php echo "hola"; ?-->                          
                        </div>

```

if i displayed like this

```
 <div class="article-content-container">
        <?php   echo $content;   ?>
    </div>

```

it gets commented.

I hope i was clear,any help would be appretiated.

Thanks guys-