title: Random Link PHP
body: <p><em><strong>EDITED</em></strong></p>
  
  <p>I'm trying to setup a random link at the bottom of all my pages. I'm using the code below, but want to make it so the current page is not included in the random rotation of links. </p>
  
  <p>Example: </p>
  
  <p>I need code to randomly select and display ONE of these links. The exception being, IF article1.php is currently being viewed, I want it to be excluded from the random selection. That way only links to OTHER articles are seen on any given article.</p>
  
  <pre><code>http://mysite.com/article1.php
  http://mysite.com/article2.php
  http://mysite.com/article3.php
  </code></pre>