How to use PHP to return only the first part of my file name, not the extension, ".php"
<p>I am trying to set the ID of the <code>&lt;body&gt;</code> tag to be the name of the current page...</p>

<pre><code>&lt;body id="&lt;?= basename($_SERVER['PHP_SELF'])?&gt;"&gt;
</code></pre>

<p>Why is this returning:</p>

<pre><code>&lt;body id="wildlife.php"&gt;
</code></pre>

<p>?</p>

<p>I want just the word "wildlife."</p>
