Support » Plugin: Audio Player » [Plugin: Audio Player] weird weird thing : php echo "[audio:my.mp3]" not working

  • This is driving me crazy !

    On the post page,

    [audio:my.mp3]

    works perfect.

    but,

    <phpcode>
    <php echo “[audio:my.mp3]”; ?>
    </phpcode>

    NOT working : unexpected T_STRING, eval()’d code…

    I tried change the code to cheat :

    <phpcode>
    <?php
    $audio = “[audio”;
    $str = $audio.”:my.mp3]” ;
    echo nl2br(htmlentities($str));
    ?>
    </phpcode>

    What I got is the plain texts showing up: [audio:my.mp3], instead of player controller.

    How to fix this ? Please urgent ! I am online waiting 24 hours for solutions….

  • The topic ‘[Plugin: Audio Player] weird weird thing : php echo "[audio:my.mp3]" not working’ is closed to new replies.