PHP code insider an HTML Field

Home Forums Quform WordPress PHP code insider an HTML Field

This topic is: resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11055
    RobertKn
    Participant

    How to put PHP Code inside an HTML Field ?

    i tryed
    <?PHP
    echo “PHP ist working”;
    ?>

    and

    <script language=”php”>
    echo “PHP ist working”;
    </script>

    it seem the starting < will be lost… hat i to escape the < like this \<

    #11056
    RobertKn
    Participant

    The result is…

    <div class="iphorm-element-spacer iphorm-element-spacer-html iphorm_16_38-element-spacer">
    ?PHP
    echo 'PHP is working';
    <!-- ? -->
    </div>

    #11062
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #11119
    RobertKn
    Participant

    Works !

    Thanks

    #17357
    devTruong
    Participant

    I had Insert_php plugins, then in HTML element I put like this: [insert_php]getListCom();[/insert_php]. It does not work.

    #17368
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy