title: highlight current page link in opencart or any php
body: <p>Im just learning open cart, but I think this question could be answered by anyone with good php knowledge.</p>
  
  <p>I am simply attempting to highlight the a link when only on that page, but it doesnt seem to work</p>
  
  <pre><code>&lt;?php $tickets = 'index.php?route=product/category&amp;path=600'; ?&gt;
  &lt;ul&gt;
      &lt;li&gt;&lt;a href="http://www.limerickfc.ie"&gt;Limerick FC&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="&lt;?php echo $tickets; ?&gt;" &lt;?php
  if (strpos($_SERVER['PHP_SELF'], $tickets )) echo "class=\"current\" ";
  ?&gt;  &gt; Tickets     &lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="&lt;?php echo $home; ?&gt;" class="current"&gt;Shop&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I know the variable <code>$tickets</code> is fine because the link goes to where its supposed to go, and I know the class <code>current</code> is fine because it works for the third <code>li</code> which is shop.</p>
  
  <p>Am I using <code>strpos</code> correctly?</p>