In general, the question is: is there an analogue of ispostback from C # in php? You need to know whether the page is loaded for the first time or in response to an action on the form. Depending on this, display or hide the message. How to do this in php?

  • What does "or in response to action on the form" mean? Notifications needed? - Invision
  • by the post method I send data to the control where they are processed and I return the view - Denis

1 answer 1

if($_SERVER['REQUEST_METHOD'] == 'POST')