Viewing 4 replies - 1 through 4 (of 4 total)
  • I am using runphp and it works great. I viewed one of the sites that suggested away to do it, but not really. If your php code is:

    <?php
    $stat = array();
    $tremont = ‘street’;
    </php>

    then the way to place it in a post is this way:

    <phpcode>
    $stat = array();
    $tremont = ‘street’;
    </phpcode>

    The same goes for inclusions. I hope this helps.

    Thread Starter basketball

    (@basketball)

    Thanks parkstreet, I tried using both ways for PHP exec and neither worked, but your way with run php works fine. Thanks again

    Thread Starter basketball

    (@basketball)

    Edit: NVM

    How did you fix this problem? Are you running WP1.5.1.2 because I’m having problems running php in pages too.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Running PHP in pages’ is closed to new replies.