• echstudios

    (@echstudios)


    How do you get a PHP function to run only on the click of a hyperlink?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • shane-g

    (@shane-g)

    Hi,

    You can save a function in one file and call it from another file..and give that call file link to the hyperlink..

    Thanks,

    Shane G.

    Thread Starter echstudios

    (@echstudios)

    Hey thanks.

    What’s the markup look like to call that file? Ideally the hyperlink takes you nowhere, just runs the function, so how to I have it direct back to the same page?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Run PHP on click’ is closed to new replies.