Posted By

d0ri0 on 06/09/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

BrianCoyDesign


tinymce + php code


 / Published in: PHP
 

  1. function makeExecutable($text){
  2. return str_replace(array('##php', 'php##'), array('<?php','?>'), $text);
  3. }
  4.  
  5. eval( '?> ' . makeExecutable($db_page->page_content) );

Report this snippet  

You need to login to post a comment.