[Currently Closed]

by 3 replies
4
[Currently Closed]
#programming #php #work
  • 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>
  • 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
    ?>
  • 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.

Next Topics on Trending Feed