title: disable a href links using PHP
body: <p>I have a page with a menu on for logged in users</p>
  
  <p>i am including this page on all the other pages in my site but i don't want users that are NOT logged in to be able to click the links</p>
  
  <p>How can I disable all the links on that page if a PHP variable <code>= 'no'</code></p>
  
  <p>i know i can use</p>
  
  <pre><code>if($php_var == 'no') {
      //do something here
  }
  </code></pre>
  
  <p>but I'm not sure how to disable the links?</p>
  
  <p>Is there any way using CSS or Javascript to disable links?</p>