• I have PHP embedded in a WordPress page such as;

    “The is the content of a wordpress page. <?php do_this(); ?>
    How do get the PHP to run?”

    I have tried to us PHP eval() with no luck.
    Is there a PHP function I can use to execute the embedded PHP. TIA.

    Gary.

Viewing 1 replies (of 1 total)
  • Unless you have a plugin like execPHP, PHPexec etc. (there are several of them) php code is NOT executed in content (Pages or posts).
    The other way to do it is to have the code in a Page template and create new Page by using that template.

Viewing 1 replies (of 1 total)

The topic ‘Executing PHP from Database Page?’ is closed to new replies.