3 replies
[Currently Closed]
#php #work
  • Profile picture of the author shahriyar
    I haven't seen your page but, If you want to load a Javascript via PHP use 'echo' to generate the script tag.

    e.g.
    Code:
    <script type="text/javascript" src="exit.js"></script>
    {{ DiscussionBoard.errors[8829291].message }}
  • Profile picture of the author InsolentCat
    You can typically put regular HTML style code in any php page as well.

    A regular PHP document goes like this:

    PHP Code:
    <?php
    //a bunch of php code
    ?>
    A person can put HTML after that closed tag though, so you can insert HTML (including JavaScript) into a PHP doc like this:

    PHP Code:
    <?php
    //Some of my PHP doc goes here
    ?>

    <!-- now I can put in regular HTML stuff (like my script) here -->
    <script type="text/javascript" src="exit.js"></script>

    <?php
    //and the rest of my php can keep going on here
    ?>
    {{ DiscussionBoard.errors[8831041].message }}
  • Profile picture of the author Ricardo Furtado
    Why did you create a sales funnel in PHP mode? What is the reason for this? Can you please enlighten me?
    Best wishes and regards.
    Signature

    Ricardo Furtado

    {{ DiscussionBoard.errors[8831048].message }}

Trending Topics