title: PHP: cannot redeclare class
body: <p>So I have 3 classes in this situation.</p>
  
  <pre><code>Connection.php
  Engineer.php
  Status.php
  </code></pre>
  
  <p>Both Engineer and Status classes actually use connection. Hasn't been a problem but now that I'm using both classes in a page I'm getting</p>
  
  <pre><code>Fatal error: Cannot redeclare class Connection
  </code></pre>
  
  <p>Is there a way round this? In both classes I need db access from the connection class.</p>
  
  <p>Thanks,</p>
  
  <p>Jonesy</p>