in reply to [Solved]: How to perform different actions before and after submit button is clicked.

You are printing the value of $a after
</body></html>
so, it gets ignored.

Try printing the value afer <body> but before the end </body>.

        Clarity: it's like that one thing that is not the other thing, except for when it is.

  • Comment on Re: How to perform different actions before and after submit button is clicked.
  • Download Code