Site icon Student Project Guidance & Development

Method to print current page name in PHP

This is the method to print current page name in PHP
<?php
echo basename($_SERVER['PHP_SELF']);
?>
Exit mobile version