How to hide dynamic content with php?
<p>i was wandering how i could hide content of a page based on the page you are located , i did this with the code from below , however i was wondering how i could hide a page that is generated dynamically for example index.php*<em>?id=......</em>*. </p>

<p>Is there a php function that i could use that would say disregard all that is after .php so don't take into consideration ?id=.. . </p>

<pre><code>if($_SERVER['PHP_SELF'] != "/3uboats/index.php"){

CONTENT TO HIDE 

}
</code></pre>

<p>If i was not clear plz ask for clarification , thanks all in advance </p>

<p>i want to hide content for this page <strong>stampa_fattura_partenza.php?id_prenotazione_partenze=1</strong> the 1 is generated by php , its dynamic </p>
