The php self-variable is the super global variable use in the HTML form to present the data on the same page. When it is used in the HTML form the submitted data is rendered on the same page which helps users to detect error message.

Code:

$_SERVER["PHP_SELF"]

Related Posts

Leave a Reply